mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 12:21:15 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3a046c1915
commit
97f252651b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user