From: Keith Owens Date: Tue, 13 Sep 2005 05:05:13 +0000 (+1000) Subject: [PATCH] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER X-Git-Tag: v2.6.14-rc2~39^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3be034b68acab61d6878431593203fc1b10d10ab;p=linux-2.6-omap-h63xx.git [PATCH] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER xircom_cb.c does #if CONFIG_NET_POLL_CONTROLLER instead of #ifdef, resulting in drivers/net/tulip/xircom_cb.c:120:5: warning: "CONFIG_NET_POLL_CONTROLLER" is not defined. Signed-off-by: Keith Owens Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index 26cc4f6378c..60d1e05ab73 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c @@ -117,7 +117,7 @@ static int xircom_open(struct net_device *dev); static int xircom_close(struct net_device *dev); static void xircom_up(struct xircom_private *card); static struct net_device_stats *xircom_get_stats(struct net_device *dev); -#if CONFIG_NET_POLL_CONTROLLER +#ifdef CONFIG_NET_POLL_CONTROLLER static void xircom_poll_controller(struct net_device *dev); #endif