This patch fixes the following warning, that comes from Linus' tree #if CONFIG_NET_POLL_CONTROLLER=n: <-- snip --> ... CC drivers/net/sis900.o drivers/net/sis900.c:199: warning: 'sis900_poll' declared `static' but never defined ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> --- linux-2.6.11-mm3/drivers/net/sis900.c.old 2005-03-12 15:55:31.000000000 +0100 +++ linux-2.6.11-mm3/drivers/net/sis900.c 2005-03-12 15:55:53.000000000 +0100 @@ -196,7 +196,9 @@ 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); - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html