Skip to contentSkip to conversation

arm: omap2: fix build failure

PATCH New tom.leiming at gmail.com 2 participants 5 messages Nov 8, 2011 – Nov 18, 2011

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

PATCH 1/1 arm: omap2: fix build failure

From: Ming Lei <[email protected]>

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....

---
 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
#1 lore raw

PATCH 1/1 arm: omap2: fix build failure

Quoted 4 lines · tom.leiming at gmail.com

From: Ming Lei <[email protected]>

The patch fixes the compile failure:

Quoted 8 lines

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....

FYI...

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

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

Kevin

author
#2 lore raw

PATCH 1/1 arm: omap2: fix build failure

Hi,

Quoted 13 lines · Kevin Hilman
Quoted 11 lines · tom.leiming at gmail.com

From: Ming Lei <[email protected]>

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....

Quoted 7 lines
Quoted 1 line

FYI...

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

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

The fix is not merged into 3.2.0-rc2-next-20111116+ yet...

thanks,

Signature · 1 line
Ming Lei
#3 lore raw

PATCH 1/1 arm: omap2: fix build failure

Quoted 16 lines · Ming Lei
Quoted 15 lines · Kevin Hilman
Quoted 12 lines · tom.leiming at gmail.com

From: Ming Lei <[email protected]>

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....

Quoted 7 lines
Quoted 5 lines

FYI...

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

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

The fix is not merged into 3.2.0-rc2-next-20111116+ yet...

OK, but that doesn't mean you have to keep sending it. It just means Tony's fixes branch isn't in -next (yet.)

Kevin

author
#4 lore raw

PATCH 1/1 arm: omap2: fix build failure

Hi,

Quoted 2 lines · Kevin Hilman

OK, but that doesn't mean you have to keep sending it. ?It just means Tony's fixes branch isn't in -next (yet.)

I do not care about which one is merged, but don't want to apply the fix patch manually for each test, :-)

In fact, there are several other non-merged build failures for omap build, looks like the process is a bit slow, :-)

thanks,

Signature · 1 line
Ming Lei