acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 26 Oct 2011 20:22:14 +0000 (16:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:34 +0000 (19:30 -0400)
These files were relying on module.h to come in via the path
in an include/acpi header file, but we don't want to have
instances of module.h being included from include/* files
if it can be avoided.  Have the files include export.h instead.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
22 files changed:
drivers/acpi/acpica/evxface.c
drivers/acpi/acpica/evxfevnt.c
drivers/acpi/acpica/evxfgpe.c
drivers/acpi/acpica/evxfregn.c
drivers/acpi/acpica/hwtimer.c
drivers/acpi/acpica/hwxface.c
drivers/acpi/acpica/nsxfeval.c
drivers/acpi/acpica/nsxfname.c
drivers/acpi/acpica/nsxfobj.c
drivers/acpi/acpica/rsxface.c
drivers/acpi/acpica/tbxface.c
drivers/acpi/acpica/utdebug.c
drivers/acpi/acpica/utdecode.c
drivers/acpi/acpica/utglobal.c
drivers/acpi/acpica/utxface.c
drivers/acpi/acpica/utxferror.c
drivers/acpi/debugfs.c
drivers/acpi/event.c
drivers/acpi/glue.c
drivers/acpi/proc.c
drivers/acpi/processor_core.c
drivers/acpi/video_detect.c

index e1141402dbed1868e4e473e21fe0bf09b8521daf..f4f523bf59390108e5095a303038da3ce872f345 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index c57b5c707a777647199012484e3bff977aff180b..20516e599476c6b59cbb100d7dfdd01357ef0273 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "actables.h"
index 52aaff3df562b94ffbd73206ae0cf363001e42bd..f06a3ee356ba72048b8a2fac77faeaf0324ec5e0 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acevents.h"
index 00cd95692a91df8af9535bdba3032fce17f0309a..aee887e3ca5c6ca57ac76de607e622b581f60e03 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index 9c8eb71a12fb41f8a09e9ac4e48a1b95daa68452..50d21c40b5c1bdd9767aeee49851cd754f0c917b 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 
index f75f81ad15c962a20c0cbc1afa7ba035e9ccca8c..c2793a82f120cae892508419c41a61569e63327e 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index c53f0040e49016b041b364c8366ca8568d953a08..e7f016d1b226edcd295f5a60adc73a0632d8b3ac 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index 3fd4526f3dba0f4de2d35f76c9c3c435ea64d1e4..83bf930243034608eeda0b5467883c1782c7c3c8 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index db7660f8b869a14789a8ae0e8d103fc6635c992f..57e6d825ed8411c8d0bd16c1de6208686a920244 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index 2ff657a28f26d3f8132c4e362b635bd198a3a1e9..fe86b37b16ce657bd719b68c656ce252581a0452 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acresrc.h"
index 4b7085dfc683bdef506be4fa62d0f29ae8af0465..e7d13f5d3f2da0f77d7b04a71e1118cb2793f7cd 100644 (file)
@@ -42,6 +42,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index a9bcd816dc298f7fbc1be186080915ade6410766..a1f8d7509e664f256bb03153319699915fc0bfef 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 
index 97cb36f85ce9d4e98f8e5576df9a4d70a049aeb6..8b087e2d64f4d9e331be57092e3c36395b58db8c 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index 833a38a9c90524c9b099b14d7d40761b660c1b75..ffba0a39c3e8598d1aeceecd1a007ddf974213cd 100644 (file)
@@ -43,6 +43,7 @@
 
 #define DEFINE_ACPI_GLOBALS
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 
index 98ad125e14ffc15fe2914eb249202d459bb342c4..420ebfe08c7218b091e1050217524547b15284aa 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acevents.h"
index 916ae097c43c9ef99b4d44c41939d0c0d4d6301c..8d0245ec431525bbd62a030d82e1eea2bfcdb9bd 100644 (file)
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/export.h>
 #include <acpi/acpi.h>
 #include "accommon.h"
 #include "acnamesp.h"
index 182a9fc363553d5ef7372ad253fe06b449c0da96..b55d6a20dc0eda9a78419f29bb8eb229cc157930 100644 (file)
@@ -2,6 +2,7 @@
  * debugfs.c - ACPI debugfs interface to userspace.
  */
 
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/debugfs.h>
 #include <acpi/acpi_drivers.h>
index 85d908993809d39147ecdc4c9c4bc2203bf28d0e..1442737cedec784874fed04a74f251d543b1a61e 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <linux/proc_fs.h>
 #include <linux/init.h>
 #include <linux/poll.h>
index 7c47ed55e528be27ea167bfaa5a6872b9b609bb1..29a4a5c8ee009da357b55f652c7bcb8f01a270b6 100644 (file)
@@ -6,6 +6,7 @@
  *
  * This file is released under the GPLv2.
  */
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/list.h>
 #include <linux/device.h>
index f5f986991b52f8a5a5faae4f3446105e1d2fe2bf..251c7b6273a9e83b21757aaa4c9c7cf3189a6e98 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
+#include <linux/export.h>
 #include <linux/suspend.h>
 #include <linux/bcd.h>
 #include <asm/uaccess.h>
index 02d2a4c9084df510c7f6929d08a7082f1ecba5d8..3a0428e8435c0fcb0221540ded7f20d731d764ae 100644 (file)
@@ -7,6 +7,7 @@
  *     Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
  *     - Added _PDC for platforms with Intel CPUs
  */
+#include <linux/export.h>
 #include <linux/dmi.h>
 #include <linux/slab.h>
 
index 5af3479714f6dbd81268ef482603865258c4ee71..f3f0fe7e255a23ef679f718324cbf9e2f16e3f31 100644 (file)
@@ -33,6 +33,7 @@
  *
  */
 
+#include <linux/export.h>
 #include <linux/acpi.h>
 #include <linux/dmi.h>
 #include <linux/pci.h>