MIPS: prepare for user enabling of CONFIG_OF
authorRob Herring <robh@kernel.org>
Mon, 1 Jun 2015 13:17:31 +0000 (08:17 -0500)
committerRob Herring <robh@kernel.org>
Fri, 5 Jun 2015 00:37:00 +0000 (19:37 -0500)
commit42ef89466b0bdfe5b08f8f603e3c924a8d7d9332
tree5d259bee4c6fd309e5fa38f19fec0e83e4e63cdf
parente7a9a5bbaa78e92e6b76bdb51d4c4f6da35c0812
MIPS: prepare for user enabling of CONFIG_OF

In preparation to allow users to enable DeviceTree without arch or
machine selecting it, we need to fix build errors on MIPS. When
CONFIG_OF is enabled, device_tree_init cannot be resolved. This is
trivially fixed by using CONFIG_USE_OF instead of CONFIG_OF for prom.h.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Grant Likely <grant.likely@lianro.org>
Cc: linux-mips@linux-mips.org
arch/mips/include/asm/prom.h
arch/mips/kernel/prom.c