diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-22 22:24:04 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 03:30:44 +0400 |
commit | ead53f22dc646d91a1b6201b9f44dd47d7d88c34 (patch) | |
tree | 75bc1a7120d3f10788580f41593822bf72a8a0c5 /arch/powerpc/sysdev | |
parent | 4b16f8e2d6d64249f0ed3ca7fe2a319d0dde2719 (diff) | |
download | linux-ead53f22dc646d91a1b6201b9f44dd47d7d88c34.tar.xz |
powerpc: remove non-required uses of include <linux/module.h>
None of the files touched here are modules, and they are not
exporting any symbols either -- so there is no need to be including
the module.h. Builds of all the files remains successful.
Even kernel/module.c does not need to include it, since it includes
linux/moduleloader.h instead.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/mpc8xx_pic.c | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/simple_gpio.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mpc8xx_pic.c b/arch/powerpc/sysdev/mpc8xx_pic.c index 22e48e2d71f1..2ca0a85fcce9 100644 --- a/arch/powerpc/sysdev/mpc8xx_pic.c +++ b/arch/powerpc/sysdev/mpc8xx_pic.c @@ -1,5 +1,4 @@ #include <linux/kernel.h> -#include <linux/module.h> #include <linux/stddef.h> #include <linux/init.h> #include <linux/sched.h> diff --git a/arch/powerpc/sysdev/simple_gpio.c b/arch/powerpc/sysdev/simple_gpio.c index b6defda5ccc9..ff5e73230a36 100644 --- a/arch/powerpc/sysdev/simple_gpio.c +++ b/arch/powerpc/sysdev/simple_gpio.c @@ -13,7 +13,6 @@ #include <linux/init.h> #include <linux/kernel.h> -#include <linux/module.h> #include <linux/spinlock.h> #include <linux/types.h> #include <linux/ioport.h> |