lkml.org 
[lkml]   [2005]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch 2.6.14-rc1] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER
Date
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 <kaos@sgi.com>

---
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-13 07:09    [from the cache]
©2003-2011 Jasper Spaans