From 97f252651bbde89649e3642889dd229fdf452d5d Mon Sep 17 00:00:00 2001 From: Jelena Bjelja Date: Sun, 16 Mar 2014 15:08:48 +0100 Subject: [PATCH] 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 --- drivers/staging/wlags49_h2/wl_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4