From: Barry Song Date: Thu, 17 Nov 2011 14:27:22 +0000 (+0800) Subject: ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE' X-Git-Tag: upstream/snapshot3+hdmi~8607^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2dcb8723eb61d00c40d526702d08f6d805f5f01;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 --- diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c index cb53160..26ebb57 100644 --- a/arch/arm/mach-prima2/pm.c +++ b/arch/arm/mach-prima2/pm.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include