compat-drivers: add missing include for export
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 3 Feb 2013 17:35:38 +0000 (18:35 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 3 Feb 2013 17:39:59 +0000 (18:39 +0100)
drivers/net/wireless/ti/wlcore/scan.c and drivers/net/wireless/ti/wlcore
/event.c need an #include <linux/export.h> to add EXPORT_SYMBOL_GPL on
kernel 3.2 and 3.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/06-header-changes.patch

index a619fa7011b5bf92e5ff0083e0affffa09804183..ca62bd3e4c84742e92cfba5de4411f671f44e3c8 100644 (file)
@@ -145,3 +145,23 @@ cases.
  
  /**
   * DOC: Introduction
+--- a/drivers/net/wireless/ti/wlcore/event.c
++++ b/drivers/net/wireless/ti/wlcore/event.c
+@@ -21,6 +21,7 @@
+  *
+  */
++#include <linux/export.h>
+ #include "wlcore.h"
+ #include "debug.h"
+ #include "io.h"
+--- a/drivers/net/wireless/ti/wlcore/scan.c
++++ b/drivers/net/wireless/ti/wlcore/scan.c
+@@ -22,6 +22,7 @@
+  */
+ #include <linux/ieee80211.h>
++#include <linux/export.h>
+ #include "wlcore.h"
+ #include "debug.h"