i2c: move busses to drivers/i2c/busses
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
e51b1ac013
commit
6a0ce693be
|
@ -3,13 +3,7 @@ menuconfig I2C
|
|||
|
||||
if I2C
|
||||
|
||||
config I2C_IMX
|
||||
bool "i.MX I2C Master driver"
|
||||
depends on ARCH_IMX
|
||||
|
||||
config I2C_OMAP
|
||||
bool "OMAP I2C Master driver"
|
||||
depends on ARCH_OMAP
|
||||
source drivers/i2c/busses/Kconfig
|
||||
|
||||
config I2C_MC13892
|
||||
bool "MC13892 a.k.a. PMIC driver"
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
obj-$(CONFIG_I2C) += i2c.o
|
||||
|
||||
obj-$(CONFIG_I2C_IMX) += i2c-imx.o
|
||||
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
|
||||
obj-$(CONFIG_I2C) += i2c.o busses/
|
||||
|
||||
obj-$(CONFIG_I2C_MC13892) += mc13892.o
|
||||
obj-$(CONFIG_I2C_MC34704) += mc34704.o
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# Sensor device configuration
|
||||
#
|
||||
|
||||
menu "I2C Hardware Bus support"
|
||||
|
||||
config I2C_IMX
|
||||
bool "i.MX I2C Master driver"
|
||||
depends on ARCH_IMX
|
||||
|
||||
config I2C_OMAP
|
||||
bool "OMAP I2C Master driver"
|
||||
depends on ARCH_OMAP
|
||||
|
||||
endmenu
|
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_I2C_IMX) += i2c-imx.o
|
||||
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
|
Loading…
Reference in New Issue