netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] 2.4 lacks dummy SET_NETDEV_DEV
@ 2003-11-10 18:19 Pekka Pietikainen
  2003-11-10 22:14 ` Pekka Pietikainen
  0 siblings, 1 reply; 5+ messages in thread
From: Pekka Pietikainen @ 2003-11-10 18:19 UTC (permalink / raw)
  To: netdev

Just noticed that 2.4 doesn't have a dummy SET_NETDEV_DEV for drivers
written for 2.6 (like the b44 fixes that got merged a few days back, so
it wouldn't actually compile :-) )

--- linux-2.4.22/include/linux/netdevice.h.orig 2003-10-03 20:30:14.000000000 +0300
+++ linux-2.4.22/include/linux/netdevice.h      2003-11-10 20:12:46.480609408 +0200
@@ -454,6 +454,8 @@
 #endif /* CONFIG_NET_DIVERT */
 };
  
+/* 2.6 compatibility */
+#define SET_NETDEV_DEV(net, pdev) do { } while (0)
  
 struct packet_type
 {

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

end of thread, other threads:[~2003-12-02 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 18:19 [patch] 2.4 lacks dummy SET_NETDEV_DEV Pekka Pietikainen
2003-11-10 22:14 ` Pekka Pietikainen
2003-11-11  6:14   ` David S. Miller
2003-12-02 10:40     ` Pekka Pietikainen
2003-12-02 11:28       ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).