]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[PATCH] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER
authorKeith Owens <kaos@sgi.com>
Tue, 13 Sep 2005 05:05:13 +0000 (15:05 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 14 Sep 2005 12:04:02 +0000 (08:04 -0400)
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>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tulip/xircom_cb.c

index 26cc4f6378c70011f586e5f5111a1a47843b0adc..60d1e05ab732360af639655550cc24314d342b46 100644 (file)
@@ -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