lkml.org 
[lkml]   [2011]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@lwfinger.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"

\
 
 \ /
  Last update: 2011-09-22 00:25    [W:0.056 / U:46.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site