lkml.org 
[lkml]   [2004]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2.6.2-rc1-mm3] drivers/net/tulip/tulip_core.c
Date
From

This fixes a warning if CONFIG_NET_POLL_CONTROLLER is NOT set:
drivers/net/tulip/tulip_core.c:256: warning: `poll_tulip' declared `static' but never defined

having poll_tulip declared is not a problem as there is already many ifdefs that remove
the use of the poll_tulip function.

--- drivers/net/tulip/tulip_core.c.orig 2004-01-24 21:02:30.289275840 -0800
+++ drivers/net/tulip/tulip_core.c 2004-01-24 21:05:27.131391752 -0800
@@ -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,

--
Bryan Whitehead
driver@megahappy.net
-
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-03-22 14:00    [W:0.047 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site