summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorRob Herring2013-04-20 00:32:52 +0200
committerGrant Likely2013-06-12 13:37:40 +0200
commitba166e900b502b74b9425881caa94f94891b0a1f (patch)
tree6576c70c8a97bb21876320fc264c7ed8d9e7238d /drivers/of/Kconfig
parentusb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE (diff)
downloadkernel-qcow2-linux-ba166e900b502b74b9425881caa94f94891b0a1f.tar.gz
kernel-qcow2-linux-ba166e900b502b74b9425881caa94f94891b0a1f.tar.xz
kernel-qcow2-linux-ba166e900b502b74b9425881caa94f94891b0a1f.zip
of: remove CONFIG_OF_DEVICE
CONFIG_OF_DEVICE is always selected when CONFIG_OF is enabled, so remove it and simplify of_platform.h and of_device.h headers. This also fixes !OF compiles using of_platform_populate. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index d37bfcf5a3a2..80e5c13b930d 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -48,9 +48,6 @@ config OF_IRQ
def_bool y
depends on !SPARC
-config OF_DEVICE
- def_bool y
-
config OF_I2C
def_tristate I2C
depends on I2C