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-Tag: v5.15~18197^2~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97f252651bbde89649e3642889dd229fdf452d5d;p=platform%2Fkernel%2Flinux-starfive.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 965b1c0..85fdeda 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;