[PATCH] small fix for wireless.c

Paul Mackerras (paulus@samba.org)
Mon, 31 Mar 2003 10:05:06 +1000 (EST)


net/core/wireless.c needs <linux/init.h> since it uses __init.
Without this it won't compile on PPC.

Paul.

diff -urN linux-2.5/net/core/wireless.c linuxppc-2.5/net/core/wireless.c
--- linux-2.5/net/core/wireless.c 2002-11-25 10:10:59.000000000 +1100
+++ linuxppc-2.5/net/core/wireless.c 2002-12-26 20:34:34.000000000 +1100
@@ -54,6 +54,7 @@
#include <linux/rtnetlink.h> /* rtnetlink stuff */
#include <linux/seq_file.h>
#include <linux/wireless.h> /* Pretty obvious */
+#include <linux/init.h> /* for __init */

#include <net/iw_handler.h> /* New driver API */

-
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/