drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 11:12:15 +0000 (07:12 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:38 +0000 (19:31 -0400)
Most of these files were implicitly getting EXPORT_SYMBOL via
device.h which was including module.h, but that path will be broken
soon.

[ with input from Stephen Rothwell <sfr@canb.auug.org.au> ]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/base/dma-mapping.c
drivers/base/hypervisor.c
drivers/base/power/generic_ops.c
drivers/base/power/main.c
drivers/base/power/qos.c
drivers/base/power/runtime.c
drivers/base/power/sysfs.c
drivers/base/power/trace.c
drivers/base/power/wakeup.c
drivers/base/regmap/regcache.c

index 763d59c1eb65d0e329a727b1f58953e6ab2bca9b..6f3676f1559f173b7767a2bdda577df2292ef461 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 #include <linux/gfp.h>
 
 /*
index 6428cba3aadddf51081926671143504e5a9247e8..4f8b741f461526b4c3034cf4690216a03538f2a5 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/kobject.h>
 #include <linux/device.h>
+#include <linux/export.h>
 #include "base.h"
 
 struct kobject *hypervisor_kobj;
index 9508df71274bf5489de904aa53f5a3afc9eeeb6f..265a0ee3b49eac0ae9a179e158c2f612d3eedba8 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
+#include <linux/export.h>
 
 #ifdef CONFIG_PM_RUNTIME
 /**
index 59f8ab23548689768a45baa6d68c11c97ca75b50..7fa098464dae62921a5acf32af3537f649b604fe 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/device.h>
 #include <linux/kallsyms.h>
+#include <linux/export.h>
 #include <linux/mutex.h>
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
index 91e061417382fc26a8baa387172537e944a5a0eb..30a94eadc200c7f89f7e2448126ad93cd6a6a2f2 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/slab.h>
 #include <linux/device.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 
 
 static DEFINE_MUTEX(dev_pm_qos_mtx);
index 6bb3aafa85ede9efe75d41abba500211fc9b262b..1079e030fd9e2e8685761f73a7693ddcbb088c0e 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/sched.h>
+#include <linux/export.h>
 #include <linux/pm_runtime.h>
 #include <trace/events/rpm.h>
 #include "power.h"
index 17b7934f31cb00c014688d6d0e197886687c3730..adf41be0ea664b7debc52b0ec49c5282a4fb46d5 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <linux/device.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/pm_runtime.h>
 #include <linux/atomic.h>
 #include <linux/jiffies.h>
index af10abecb99be81fb98de22bfd7fa8decb404595..d94a1f5121cf2292b5032ced369b0d6308faee72 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/resume-trace.h>
+#include <linux/export.h>
 #include <linux/rtc.h>
 
 #include <asm/rtc.h>
index 14ee07e9cc431a3882497b689daea2fe75ce3e94..caf995fb774b4ceef6ad03809ac7a2f1b5a5e9e5 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <linux/capability.h>
+#include <linux/export.h>
 #include <linux/suspend.h>
 #include <linux/seq_file.h>
 #include <linux/debugfs.h>
index afcfef838263e3cf9ec1067ce3b92625d4c3056a..666f6f5011dc85339287f9b982f991e22081626b 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <trace/events/regmap.h>
 #include <linux/bsearch.h>
 #include <linux/sort.h>