mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Tested-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
8973ba8b32
commit
ba166e900b
3 changed files with 4 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue