[PATCH] Fix wireless build
From: Benjamin Herrenschmidt
Date: Tue Jan 10 2006 - 22:16:44 EST
Current wireless core doesn't link here with a link error on
compare_ether_addr. The function exists, but is defined inline and the
wireless code forgets to #include the file containing the definition.
Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Index: linux-work/net/core/wireless.c
===================================================================
--- linux-work.orig/net/core/wireless.c 2006-01-11 12:56:30.000000000 +1100
+++ linux-work/net/core/wireless.c 2006-01-11 14:14:27.000000000 +1100
@@ -78,7 +78,7 @@
#include <linux/seq_file.h>
#include <linux/init.h> /* for __init */
#include <linux/if_arp.h> /* ARPHRD_ETHER */
-
+#include <linux/etherdevice.h>
#include <linux/wireless.h> /* Pretty obvious */
#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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/