diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-04-19 17:32:52 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-12 12:37:40 +0100 |
commit | ba166e900b502b74b9425881caa94f94891b0a1f (patch) | |
tree | 6576c70c8a97bb21876320fc264c7ed8d9e7238d /drivers/of/Makefile | |
parent | 8973ba8b325f8c084815a3021c427c6fa3017a5d (diff) | |
download | linux-ba166e900b502b74b9425881caa94f94891b0a1f.tar.bz2 |
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/Makefile')
-rw-r--r-- | drivers/of/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile index e027f444d10c..1f9c0c492ef9 100644 --- a/drivers/of/Makefile +++ b/drivers/of/Makefile @@ -1,9 +1,8 @@ -obj-y = base.o +obj-y = base.o device.o platform.o obj-$(CONFIG_OF_FLATTREE) += fdt.o obj-$(CONFIG_OF_PROMTREE) += pdt.o obj-$(CONFIG_OF_ADDRESS) += address.o obj-$(CONFIG_OF_IRQ) += irq.o -obj-$(CONFIG_OF_DEVICE) += device.o platform.o obj-$(CONFIG_OF_I2C) += of_i2c.o obj-$(CONFIG_OF_NET) += of_net.o obj-$(CONFIG_OF_SELFTEST) += selftest.o |