diff options
author | Barry Song <baohua.song@csr.com> | 2011-11-17 22:27:22 +0800 |
---|---|---|
committer | Barry Song <Barry.Song@csr.com> | 2011-12-02 11:03:41 +0800 |
commit | b2dcb8723eb61d00c40d526702d08f6d805f5f01 (patch) | |
tree | 924742f1489f63aff98ed2983166091dc2f6a3b1 /arch/arm/mach-prima2/pm.c | |
parent | 1bdfd27a0bd65ccdd7294c1080bdb59f6a5a6e72 (diff) | |
download | talos-op-linux-b2dcb8723eb61d00c40d526702d08f6d805f5f01.tar.gz talos-op-linux-b2dcb8723eb61d00c40d526702d08f6d805f5f01.zip |
ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE'
In the new kernel, we will get the following compile error:
arch/arm/mach-prima2/pm.c:141: error: 'THIS_MODULE' undeclared
here (not in a function)
so include module.h head file explicitly
Signed-off-by: Barry Song <baohua.song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/pm.c')
-rw-r--r-- | arch/arm/mach-prima2/pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c index cb53160f6c5d..26ebb57719df 100644 --- a/arch/arm/mach-prima2/pm.c +++ b/arch/arm/mach-prima2/pm.c @@ -9,6 +9,7 @@ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/slab.h> +#include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_device.h> |