ARM: nomadik: fix OF compilation regression
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Feb 2013 08:52:05 +0000 (09:52 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 5 Feb 2013 18:29:26 +0000 (10:29 -0800)
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.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/Kconfig

index bef46ed..42ee64e 100644 (file)
@@ -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