[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2.6.2-rc1-mm3] drivers/net/tulip/tulip_core.c



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 _at_ megahappy.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」