Skip to contentSkip to conversation

powerpc/of: add OF_DYNAMIC for chroma

PATCH In review Michael Neuling 2 participants 3 messages Feb 19, 2012 – Feb 20, 2012

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

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
index 57d22a2..79d2225 100644
@@ -25,6 +25,7 @@ config PPC_CHROMA
 	bool "PowerEN PCIe Chroma Card"
 	select EPAPR_BOOT
 	select PPC_WSP
+	select OF_DYNAMIC
 	default y
 
 endmenu
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Michael Neuling

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.

Quoted 13 lines
arch/powerpc/platforms/wsp/Kconfig +1 -0
index 57d22a2..79d2225 100644
@@ -25,6 +25,7 @@ config PPC_CHROMA
 	bool "PowerEN PCIe Chroma Card"
 	select EPAPR_BOOT
 	select PPC_WSP
+	select OF_DYNAMIC
 	default y
 

endmenu

#2 lore raw

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_defconfig fails with:
=20
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'

Quoted 4 lines

=20
The below fixes this by selecting the new OF_DYNAMIC when PPC_CHROMA. =20

=

Quoted 2 lines

=20

= renamed from arch/powerpc/platforms/wsp/Kconfig +0 -0

b/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