powerpc/of: add OF_DYNAMIC for chroma
Subsystems (2)
PATCH 1/1 powerpc/of: add OF_DYNAMIC for chroma
linux next-20120217 compiling ppc64e_defconfig fails with:
arch/powerpc/platforms/wsp/h8.c: In function 'wsp_h8_getaddr':arch/powerpc/platforms/wsp/h8.c:116: error: implicit declaration of function 'of_detach_node'
The below fixes this by selecting the new OF_DYNAMIC when PPC_CHROMA.
arch/powerpc/platforms/wsp/Kconfig +1 -0
@@ -25,6 +25,7 @@ config PPC_CHROMA bool "PowerEN PCIe Chroma Card" select EPAPR_BOOT select PPC_WSP + select OF_DYNAMIC default y endmenu
Quoted 8 lines · Michael Neuling
linux next-20120217 compiling
ppc64e_defconfigfails with:
arch/powerpc/platforms/wsp/h8.c: In function 'wsp_h8_getaddr':arch/powerpc/platforms/wsp/h8.c:116: error: implicit declaration of function 'of_detach_node'The below fixes this by selecting the new
OF_DYNAMICwhenPPC_CHROMA.Signed-off-by Michael Neuling <[email protected]>
Quoted 13 lines
arch/powerpc/platforms/wsp/Kconfig +1
-0@@ -25,6 +25,7 @@ config PPC_CHROMA bool "PowerEN PCIe Chroma Card" select EPAPR_BOOT select PPC_WSP + select OF_DYNAMIC default yendmenu
Grant,
This seems to be broken in your tree (since 301b605ff6), so you should probably pick up this patch.
Mikey
Quoted 30 lines · In message <[email protected]> you wrote:
Quoted 4 lines · Michael Neuling
linux next-20120217 compiling
ppc64e_defconfigfails with:
=20arch/powerpc/platforms/wsp/h8.c: In function 'wsp_h8_getaddr':arch/powerpc/platforms/wsp/h8.c:116: error: implicit declaration of =function '
of_detach_node'Quoted 4 lines
=20
The below fixes this by selecting the newOF_DYNAMICwhenPPC_CHROMA. =20Signed-off-by Michael Neuling <[email protected]>Acked-by Jimi Xenidis <[email protected]>=
Quoted 2 lines
=20
= renamed from arch/powerpc/platforms/wsp/Kconfig +0
-0b/arch/powerpc/platforms/wsp/Kconfig
Quoted 11 lines
index 57d22a2..79d2225 100644
arch/powerpc/platforms/wsp/Kconfig +1
-0@@ -25,6 +25,7 @@ config PPC_CHROMA bool "PowerEN PCIe Chroma Card" select EPAPR_BOOT select PPC_WSP + select OF_DYNAMIC default y=20
endmenu