mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tulip driver compiler warning
@ 2004-01-25 22:46 Jecs Attila
  0 siblings, 0 replies; only message in thread
From: Jecs Attila @ 2004-01-25 22:46 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel

This will hopefully remove the compiler warning when compiling the new 
driver option of the tulip driver in 2.6.2-rc1-mm3. 
 
fix-tulip-driver-compiler-warning.patch 
 
--- drivers/net/tulip/tulip_core.c.orig	2004-01-25 23:19:53.000000000 
+0100 
+++ drivers/net/tulip/tulip_core.c	2004-01-25 23:20:17.000000000 
+0100 
@@ -253,7 +253,9 @@ static void tulip_down(struct net_device 
 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, 
 				   int sleep, int snooze) 
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-25 22:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25 22:46 [PATCH] tulip driver compiler warning Jecs Attila

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

all inboxes | Powered by JetHome®