public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.2-rc1-mm2] drivers/net/tulip/tulip_core.c
@ 2004-01-24  8:02 Bryan Whitehead
  2004-01-24 21:17 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Whitehead @ 2004-01-24  8:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, jgarzik, tulip-users


This fixes a warning if CONFIG_NET_POLL_CONTROLLER is NOT set.

--- drivers/net/tulip/tulip_core.c.orig 2004-01-23 23:53:17.484261904 -0800
+++ drivers/net/tulip/tulip_core.c      2004-01-23 23:53:53.675759960 -0800
@@ -253,7 +253,9 @@
 static struct net_device_stats *tulip_get_stats(struct net_device *dev);
 static int private_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
 static void set_rx_mode(struct net_device *dev);
+#ifdef CONFIG_NET_POLL_CONTROLLER
 static void poll_tulip(struct net_device *dev);
+#endif
  
  
 static void tulip_set_power_state (struct tulip_private *tp,

--
Bryan Whitehead
driver@megahappy.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-25  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24  8:02 [PATCH 2.6.2-rc1-mm2] drivers/net/tulip/tulip_core.c Bryan Whitehead
2004-01-24 21:17 ` Jeff Garzik
2004-01-25  0:48   ` Bryan Whitehead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox