From: Jelena Bjelja Date: Sun, 16 Mar 2014 14:08:48 +0000 (+0100) Subject: staging: wlags49_h2: Fix sparse warning for static declaration X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=97f252651bbde89649e3642889dd229fdf452d5d;p=deliverable%2Flinux.git 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 Acked-by: Paul E. McKenney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c index 965b1c0a4753..85fdedacceeb 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;