Commit 97f25265 authored by Jelena Bjelja's avatar Jelena Bjelja Committed by Greg Kroah-Hartman

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: default avatarJelena Bjelja <jelena.bjelja.ing@gmail.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a046c19
......@@ -530,7 +530,7 @@ int wl_ioctl( struct net_device *dev, struct ifreq *rq, int cmd )
/*============================================================================*/
#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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment