[PATCH] arm: omap2: fix build failure
tom.leiming at gmail.com
tom.leiming at gmail.com
Mon Nov 7 23:34:09 EST 2011
From: Ming Lei <tom.leiming at gmail.com>
The patch fixes the compile failure:
CC arch/arm/mach-omap2/cpuidle34xx.o
arch/arm/mach-omap2/cpuidle34xx.c:317:12: error: 'THIS_MODULE'
undeclared here (not in a function)
make[1]: *** [arch/arm/mach-omap2/cpuidle34xx.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2
make: *** Waiting for unfinished jobs....
Signed-off-by: Ming Lei <tom.leiming at gmail.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