Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel
[PATCH] Fix wireless build
 

Index | Next | Previous | View Flat


benh at kernel

Jan 10, 2006, 7:17 PM


Views: 474
Permalink
[PATCH] Fix wireless build

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[at]kernel.crashing.org>

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

Subject User Time
[PATCH] Fix wireless build benh at kernel Jan 10, 2006, 7:17 PM
    Re: [PATCH] Fix wireless build davem at davemloft Jan 10, 2006, 9:03 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.