summaryrefslogtreecommitdiff
path: root/arch/arm/mach-prima2
diff options
context:
space:
mode:
authorBarry Song <baohua.song@csr.com>2011-11-17 18:27:22 +0400
committerBarry Song <Barry.Song@csr.com>2011-12-02 07:03:41 +0400
commitb2dcb8723eb61d00c40d526702d08f6d805f5f01 (patch)
tree924742f1489f63aff98ed2983166091dc2f6a3b1 /arch/arm/mach-prima2
parent1bdfd27a0bd65ccdd7294c1080bdb59f6a5a6e72 (diff)
downloadlinux-b2dcb8723eb61d00c40d526702d08f6d805f5f01.tar.xz
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')
-rw-r--r--arch/arm/mach-prima2/pm.c1
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>