]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/base: Fix various files needing export.h for EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 11:12:15 +0000 (07:12 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:56 +0000 (04:05 -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.  Similar for wakeup.c; it needs EXPORT_SYMBOL and THIS_MODULE.

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/runtime.c
drivers/base/power/sysfs.c
drivers/base/power/trace.c
drivers/base/power/wakeup.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 a85459126bc6a5ef9cdb737140353084d0bd8c3e..cc4a222e73ab8a45e0b811d6ce21456e930d87f5 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 8dc247c974affdc3432d4ec73087f76cd1889ce6..6e97c20830a0edfb2253b26a638fd2ba7eeb1d84 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/sched.h>
+#include <linux/export.h>
 #include <linux/pm_runtime.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 84f7c7d5a0983f74f844c6b591c110fa1a89c5b4..cfed21bf0b509827130e127400d463ff55d2dabc 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>