[PATCH] arm: cpuidle34xx.c: Fix compile error

Joerg Roedel joerg.roedel at amd.com
Tue Nov 8 11:11:05 EST 2011


Add missing module.h include to provide THIS_MODULE.

Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
---
 arch/arm/mach-omap2/cpuidle34xx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c
index 1fe35c2..158c17e 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -24,6 +24,7 @@
 
 #include <linux/sched.h>
 #include <linux/cpuidle.h>
+#include <linux/module.h>
 
 #include <plat/prcm.h>
 #include <plat/irqs.h>
-- 
1.7.5.4





More information about the linux-arm-kernel mailing list