projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdfd27
)
ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE'
author
Barry Song
<baohua.song@csr.com>
Thu, 17 Nov 2011 14:27:22 +0000
(22:27 +0800)
committer
Barry Song
<Barry.Song@csr.com>
Fri, 2 Dec 2011 03:03:41 +0000
(11:03 +0800)
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>
arch/arm/mach-prima2/pm.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-prima2/pm.c
b/arch/arm/mach-prima2/pm.c
index cb53160f6c5d3127b961edbf102e70ab34733712..26ebb57719df5d3fbf389e46cb723b92029b8191 100644
(file)
--- 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>