Skip to content

Commit

Permalink
ARM: nomadik: fix OF compilation regression
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Olof Johansson committed Feb 5, 2013
1 parent 604d11d commit f015941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f015941

Please sign in to comment.