Messages in this thread Patch in this message | | | From | "Jecs Attila" <> | Subject | [PATCH] tulip driver compiler warning | Date | Sun, 25 Jan 2004 23:46:27 +0100 (CET) |
| |
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) - 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/
| |