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

November 08th, 2011 - 11:20 am ET by Joerg Roedel | Report spam
Add missing module.h include to provide THIS_MODULE.

Signed-off-by: Joerg Roedel <joerg.roedel@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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Kevin Hilman
November 08th, 2011 - 12:40 pm ET | Report spam
Joerg Roedel writes:

Add missing module.h include to provide THIS_MODULE.

Signed-off-by: Joerg Roedel



FYI...

Tony has already queued fix for this in his fixes branch.

http://marc.info/?l=linux-arm-kernel&m2071036621713&w=2

Kevin
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics