]> git.baikalelectronics.ru Git - kernel.git/commit
of: add HAS_IOMEM depends to OF_ADDRESS
authorRob Herring <robh@kernel.org>
Sun, 5 Jul 2015 15:18:41 +0000 (10:18 -0500)
committerRob Herring <robh@kernel.org>
Mon, 27 Jul 2015 13:21:04 +0000 (08:21 -0500)
commit575385728c3d34a7fc18d405889fdc8ea56fedcd
tree06f4720c31c99ff8a02091a355020b008e75c501
parented5bcb8aebc0174d7396d6222e17a9773f9bdb9a
of: add HAS_IOMEM depends to OF_ADDRESS

On UML builds, of_address.c fails to compile:

../drivers/of/address.c:873:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]

This is due to CONFIG_OF now being user selectable. Add a dependency on
HAS_IOMEM to OF_ADDRESS in order to fix this.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Grant Likely <grant.likely@linaro.org>
drivers/of/Kconfig