2005-09-13 05:05:23

by Keith Owens

[permalink] [raw]
Subject: [patch 2.6.14-rc1] 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 <[email protected]>

---

xircom_cb.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/net/tulip/xircom_cb.c
===================================================================
--- linux.orig/drivers/net/tulip/xircom_cb.c 2005-09-13 15:01:30.667784502 +1000
+++ linux/drivers/net/tulip/xircom_cb.c 2005-09-13 15:02:02.246401717 +1000
@@ -117,7 +117,7 @@ static int xircom_open(struct net_device
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