diff options
author | Jelena Bjelja <jelena.bjelja.ing@gmail.com> | 2014-03-16 15:08:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-18 11:14:50 -0700 |
commit | 97f252651bbde89649e3642889dd229fdf452d5d (patch) | |
tree | 9e7b08253a95e192f11fdd1899eac7ff5bd35e13 | |
parent | 3a046c19158e8972434d142442653cc7a01b28e0 (diff) |
staging: wlags49_h2: Fix sparse warning for static declaration
Fix the following sparse warning:
drivers/staging/wlags49_h2/wl_netdev.c:533:6: warning: symbol 'wl_poll'
was not declared. Should it be static?
Signed-off-by: Jelena Bjelja <jelena.bjelja.ing@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wlags49_h2/wl_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c index 965b1c0a475..85fdedaccee 100644 --- a/drivers/staging/wlags49_h2/wl_netdev.c +++ b/drivers/staging/wlags49_h2/wl_netdev.c @@ -530,7 +530,7 @@ out_act_int_on_unlock: /*============================================================================*/ #ifdef CONFIG_NET_POLL_CONTROLLER -void wl_poll(struct net_device *dev) +static void wl_poll(struct net_device *dev) { struct wl_private *lp = wl_priv(dev); unsigned long flags; |