Fix for a warning introduced with the patch for netconsole support.
Signed-off-by: Daniele Venzano <webvenza@xxxxxxxxx>
Index: sis900.c
===================================================================
--- a/drivers/net/sis900.c (revision 102)
+++ b/drivers/net/sis900.c (revision 103)
@@ -197,7 +197,10 @@ MODULE_PARM_DESC(multicast_filter_limit,
MODULE_PARM_DESC(max_interrupt_work, "SiS 900/7016 maximum events handled per
interrupt");
MODULE_PARM_DESC(sis900_debug, "SiS 900/7016 bitmapped debugging message
level");
+#ifdef CONFIG_NET_POLL_CONTROLLER
static void sis900_poll(struct net_device *dev);
+#endif
+
static int sis900_open(struct net_device *net_dev);
static int sis900_mii_probe (struct net_device * net_dev);
static void sis900_init_rxfilter (struct net_device * net_dev);
|