ARM: nomadik: fix OF compilation regression
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
@@ -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
Olof Johansson
AppliedPATCH 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_OFwhich 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_OFinstead.
Applied, thanks.
-Olof