[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4e7a6393.eQ0IEnMVbVlQIbx0%Larry.Finger@lwfinger.net>
Date: Wed, 21 Sep 2011 17:22:11 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: paul.gortmaker@...driver.com
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org, sfr@...b.auug.org.au,
akpm@...ux-foundation.org
Subject: [PATCH -next] rtlwifi: rtl8192c: Add includes of export.h
With the split of include/linux/module.h into two parts, several files in
drivers rtlwifi and rtl8192c need to include the new file.
Signed-off-by: Larry Finger <Larry.Finger@...inger.net>
---
Paul,
At Randy Dunlap's suggestion, I am sending this to you in hopes that
I can save you some time. I think I found all the routines that will have
a problem, but as these patches do not compile, I cannot be sure.
Larry
---
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/base.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/base.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/base.c
@@ -30,6 +30,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/ip.h>
+#include <linux/export.h>
#include "wifi.h"
#include "rc.h"
#include "base.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/cam.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/cam.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/cam.c
@@ -29,6 +29,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#include <linux/export.h>
+
#include "wifi.h"
#include "cam.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/efuse.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/efuse.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/efuse.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/export.h>
+
#include "wifi.h"
#include "efuse.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/pci.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/pci.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/pci.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/export.h>
+
#include "core.h"
#include "wifi.h"
#include "pci.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/ps.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/ps.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/ps.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/export.h>
+
#include "wifi.h"
#include "base.h"
#include "ps.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/export.h>
+
#include "dm_common.h"
#include "phy_common.h"
#include "../pci.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
@@ -30,6 +30,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/firmware.h>
+#include <linux/export.h>
+
#include "../wifi.h"
#include "../pci.h"
#include "../base.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/export.h>
+
#include "../wifi.h"
#include "../rtl8192ce/reg.h"
#include "../rtl8192ce/def.h"
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/usb.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/usb.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/usb.c
@@ -28,6 +28,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/usb.h>
+#include <linux/export.h>
+
#include "core.h"
#include "wifi.h"
#include "usb.h"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists