OMAP4: PRM: fix build breakage when CONFIG_OF is not defined
Subsystems (4)
PATCH v2 1/1 OMAP4: PRM: fix build breakage when CONFIG_OF is not defined
Since 3.3-rc1, prm44xx.c build breaks if CONFIG_OF is not set:
arch/arm/mach-omap2/prm44xx.c:41: error: 'OMAP44XX_IRQ_PRCM' undeclared here (not in a function) make[1]: *** [arch/arm/mach-omap2/prm44xx.o] Error 1
This is because of a missing include, which is added indirectly if CONFIG_OF is defined. This problem was introduced in commit 2f31b51 (ARM: OMAP4: PRM: use PRCM interrupt handler).
---
v2: changed the commit log to use abbrev sha and include the commit subject
arch/arm/mach-omap2/prm44xx.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/prm44xx.c +1 -0
@@ -20,6 +20,7 @@#include "common.h" #include <plat/cpu.h> #include <plat/prcm.h> +#include <plat/irqs.h> #include "vp.h" #include "prm44xx.h"
Signature · 1 line
1.7.5.4
Tony Lindgren
maintainerQuoted 5 lines · Luciano Coelho
Since 3.3-rc1,
prm44xx.cbuild breaks ifCONFIG_OFis not set:
arch/arm/mach-omap2/prm44xx.c:41: error: 'OMAP44XX_IRQ_PRCM' undeclared here (not in a function) make[1]: *** [arch/arm/mach-omap2/prm44xx.o] Error 1
Quoted 7 lines
This is because of a missing include, which is added indirectly if
CONFIG_OFis defined. This problem was introduced in commit 2f31b51 (ARM: OMAP4: PRM: use PRCM interrupt handler).Cc Tero Kristo <[email protected]>Signed-off-by Luciano Coelho <[email protected]>Reviewed-by Felipe Balbi <[email protected]>
A similar patch should be already in mainline kernel queued by Russell.
Tony
Quoted 21 lines
---
v2: changed the commit log to use abbrev sha and include the commit subjectarch/arm/mach-omap2/prm44xx.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/mach-omap2/prm44xx.c +1
-0@@ -20,6 +20,7 @@#include "common.h" #include <plat/cpu.h> #include <plat/prcm.h> +#include <plat/irqs.h> #include "vp.h" #include "prm44xx.h" Signature · 1 line
1.7.5.4
Hi Tony,
Quoted 10 lines · Tony Lindgren
Quoted 9 lines · Luciano Coelho
Since 3.3-rc1,
prm44xx.cbuild breaks ifCONFIG_OFis not set:
arch/arm/mach-omap2/prm44xx.c:41: error: 'OMAP44XX_IRQ_PRCM' undeclared here (not in a function) make[1]: *** [arch/arm/mach-omap2/prm44xx.o] Error 1This is because of a missing include, which is added indirectly if
CONFIG_OFis defined. This problem was introduced in commit 2f31b51 (ARM: OMAP4: PRM: use PRCM interrupt handler).
Quoted 5 lines
Quoted 3 lines
Cc Tero Kristo <[email protected]>Signed-off-by Luciano Coelho <[email protected]>Reviewed-by Felipe Balbi <[email protected]>A similar patch should be already in mainline kernel queued by Russell.
Right, someone pointed this out to me after I sent the two patches. Sorry for the trouble, I should have looked more carefully before jumping in to fix this stuff. ;)
Signature · 2 lines
Cheers, Luca.