Skip to contentSkip to conversation

arm: cpuidle34xx.c: Fix compile error

PATCH In review Joerg Roedel 2 participants 3 messages Nov 8, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: cpuidle34xx.c: Fix compile error

Add missing module.h include to provide THIS_MODULE.

---
 arch/arm/mach-omap2/cpuidle34xx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/cpuidle34xx.c +1 -0
index 1fe35c2..158c17e 100644
@@ -24,6 +24,7 @@
 
 #include <linux/sched.h>
 #include <linux/cpuidle.h>
+#include <linux/module.h>
 
 #include <plat/prcm.h>
 #include <plat/irqs.h>
Signature · 1 line
1.7.5.4
#2 lore raw
Quoted 11 lines · Kevin Hilman
Quoted 3 lines · Joerg Roedel

Add missing module.h include to provide THIS_MODULE.

FYI...

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

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

Great. I stumbled over it while compile-testing the iommu-tree for omap.

Thanks,

Joerg

Signature · 5 lines
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632