powerpc: Fix up modules that should be including module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 17:23:32 +0000 (13:23 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:38 +0000 (19:30 -0400)
So that we can clean up the header files and not be relying
on implicit includes from device.h ---> module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
14 files changed:
arch/powerpc/platforms/512x/clock.c
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
arch/powerpc/platforms/86xx/gef_gpio.c
arch/powerpc/platforms/cell/cbe_cpufreq.c
arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
arch/powerpc/platforms/cell/cbe_powerbutton.c
arch/powerpc/platforms/cell/cpufreq_spudemand.c
arch/powerpc/platforms/embedded6xx/holly.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/platforms/pasemi/cpufreq.c
arch/powerpc/sysdev/pmi.c
arch/powerpc/sysdev/rtc_cmos_setup.c
drivers/ps3/ps3stor_lib.c

index 3dc2a8d262b8731aa4995b6c4b20621f06742fef..1d8700ff60b0ec1b35eb2f989ea8ef33e2992d07 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/list.h>
 #include <linux/errno.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <linux/string.h>
 #include <linux/clk.h>
 #include <linux/mutex.h>
index 6c39b9cc2fa3fe0b367d92e086a7f9b046f93700..f94f06e52762093d018b91a32b2fa243aa168c9f 100644 (file)
@@ -67,6 +67,7 @@
 #include <linux/watchdog.h>
 #include <linux/miscdevice.h>
 #include <linux/uaccess.h>
+#include <linux/module.h>
 #include <asm/div64.h>
 #include <asm/mpc52xx.h>
 
index 9940ce8a2d4eff3fffb9d5458a46e98683a58351..d61fb1c0c1a05cecff284de0ac89b48f4625d0a1 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/spinlock.h>
+#include <linux/module.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/mpc52xx.h>
index 4ff7b1e7bbada2917bfd89e2950ac0c178f6a554..2a703365e664d5926ffd082df5b561a50dbcc98b 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/of_gpio.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define GEF_GPIO_DIRECT                0x00
 #define GEF_GPIO_IN            0x04
index bfa2c0cb3d1ed37c48cac4f5de8d22f7b8006431..d4c39e32f147d77a99dc21739e993c5ef71d6ce5 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/cpufreq.h>
+#include <linux/module.h>
 #include <linux/of_platform.h>
 
 #include <asm/machdep.h>
index 3233fe84d1584bc37de268ea7ebc2349a386635c..60a07a4f9326afb7c8f538de2c45040dbe124d4b 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/timer.h>
+#include <linux/module.h>
 #include <linux/of_platform.h>
 
 #include <asm/processor.h>
index f75a4daa4ca2821439b17177a43a0969e1d2cf82..2bb8031303f0cdd1d1105832217686d73b0fe444 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/input.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <asm/pmi.h>
 #include <asm/prom.h>
index 7f92096fe9685ca02659433082c6c1b58038db86..23bc9db4317e80a869c3a47074ef20b0b08f6c02 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/cpufreq.h>
 #include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/timer.h>
 #include <linux/workqueue.h>
 #include <linux/atomic.h>
index 487bda0d18d86d46a07f85378c1d27fe276c8928..2e9bcf6444c8dc9c59ad23a98fcd38c6c5f17d0e 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/tty.h>
 #include <linux/serial_core.h>
 #include <linux/of_platform.h>
+#include <linux/module.h>
 
 #include <asm/system.h>
 #include <asm/time.h>
index 1cb907c9435909e6fd96f909663941a4d1a15c27..f8f33e16c6b616aec46a72233517038a8c2f47c3 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/pci.h>
 #include <linux/kdev_t.h>
 #include <linux/console.h>
+#include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
 #include <linux/seq_file.h>
index c16537bc0c6e12b6a7a5b7f6d49ba59f4e63bf7f..95d00173029f52c498902a586a24917f09e99d4b 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <linux/cpufreq.h>
 #include <linux/timer.h>
+#include <linux/module.h>
 
 #include <asm/hw_irq.h>
 #include <asm/io.h>
index 8ce4fc3d98281a46285571a93b4f8ce51a95e34d..8f0465422b1e3f2255fbee4d6402f87642d9a8d9 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <linux/completion.h>
 #include <linux/spinlock.h>
+#include <linux/module.h>
 #include <linux/workqueue.h>
 #include <linux/of_device.h>
 #include <linux/of_platform.h>
index c1879ebfd4f48081d7f9864f6a8aeaf1769aae50..9afba924e94f92154da751671b1115ade6413321 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/platform_device.h>
 #include <linux/err.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/mc146818rtc.h>
 
 #include <asm/prom.h>
index af0afa1db4a8b3261dfba62b2d13cb680f3b3c9a..cc328dec946b3766b6531914fba56da244378591 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <linux/dma-mapping.h>
+#include <linux/module.h>
 
 #include <asm/lv1call.h>
 #include <asm/ps3stor.h>