Skip to contentSkip to conversation

ARM: nomadik: fix OF compilation regression

PATCH New Linus Walleij 2 participants 2 messages Feb 1, 2013 – Feb 5, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: nomadik: fix OF compilation regression

From: Linus Walleij <[email protected]>

The Nomadik Device Tree patch series accidentally selected OF instead of USE_OF which led to problems during compile:

arch/arm/kernel/devtree.c: In function 'arm_dt_memblock_reserve':
/home/elinwal/linux-arm-soc/arch/arm/kernel/devtree.c:43:7: error: 'initial_boot_params' undeclared (first use in this function) (etc).

This fixes it up by selecting USE_OF instead.

---
ARM SoC guys: this applies to your nomadik/dt branch. Please apply it directly.

---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Kconfig +1 -1
index bef46ed..42ee64e 100644
@@ -904,7 +904,7 @@ config ARCH_NOMADIK
 	select CPU_ARM926T
 	select GENERIC_CLOCKEVENTS
 	select MIGHT_HAVE_CACHE_L2X0
-	select OF
+	select USE_OF
 	select PINCTRL
 	select PINCTRL_STN8815
 	select SPARSE_IRQ
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH 1/1 ARM: nomadik: fix OF compilation regression

Quoted 11 lines · Linus Walleij

From: Linus Walleij <[email protected]>

The Nomadik Device Tree patch series accidentally selected OF instead of USE_OF which led to problems during compile:

arch/arm/kernel/devtree.c: In function 'arm_dt_memblock_reserve':
/home/elinwal/linux-arm-soc/arch/arm/kernel/devtree.c:43:7: error: 'initial_boot_params' undeclared (first use in this function) (etc).

This fixes it up by selecting USE_OF instead.

Applied, thanks.

-Olof