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@xxxxxxxxxxxx> --- 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-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html