diff options
author | Barry Song <baohua.song@csr.com> | 2011-11-17 09:27:22 -0500 |
---|---|---|
committer | Barry Song <Barry.Song@csr.com> | 2011-12-01 22:03:41 -0500 |
commit | b2dcb8723eb61d00c40d526702d08f6d805f5f01 (patch) | |
tree | 924742f1489f63aff98ed2983166091dc2f6a3b1 /arch | |
parent | 1bdfd27a0bd65ccdd7294c1080bdb59f6a5a6e72 (diff) |
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')
-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 @@ | |||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/suspend.h> | 10 | #include <linux/suspend.h> |
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <linux/module.h> | ||
12 | #include <linux/of.h> | 13 | #include <linux/of.h> |
13 | #include <linux/of_address.h> | 14 | #include <linux/of_address.h> |
14 | #include <linux/of_device.h> | 15 | #include <linux/of_device.h> |