Messages in this thread Patch in this message |  | | | From | Keith Owens <> | | Subject | [patch 2.6.14-rc1] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER | | Date | Tue, 13 Sep 2005 15:05:13 +1000 |
| |
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/
|  |