MFD MC34708: Add dependence on SPI
MC34708 depend on I2C or SPI, so let driver depend on SPI too and rename config option name to MFD_MC34708. Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski@kiwigrid.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
39287a0baa
commit
b46b57f35a
|
@ -79,7 +79,7 @@ CONFIG_USB_STORAGE=y
|
|||
CONFIG_MCI=y
|
||||
CONFIG_MCI_STARTUP=y
|
||||
CONFIG_MCI_IMX_ESDHC=y
|
||||
CONFIG_I2C_MC34708=y
|
||||
CONFIG_MFD_MC34708=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_IMX=y
|
||||
CONFIG_FS_TFTP=y
|
||||
|
|
|
@ -8,8 +8,8 @@ config I2C_MC34704
|
|||
depends on I2C
|
||||
bool "MC34704 PMIC driver"
|
||||
|
||||
config I2C_MC34708
|
||||
depends on I2C
|
||||
config MFD_MC34708
|
||||
depends on I2C || SPI
|
||||
bool "MC34708 PMIC driver"
|
||||
|
||||
config I2C_MC9SDZ60
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
obj-$(CONFIG_MFD_MC13XXX) += mc13xxx.o
|
||||
obj-$(CONFIG_I2C_MC34704) += mc34704.o
|
||||
obj-$(CONFIG_I2C_MC34708) += mc34708.o
|
||||
obj-$(CONFIG_MFD_MC34708) += mc34708.o
|
||||
obj-$(CONFIG_I2C_MC9SDZ60) += mc9sdz60.o
|
||||
obj-$(CONFIG_I2C_LP3972) += lp3972.o
|
||||
obj-$(CONFIG_I2C_TWLCORE) += twl-core.o
|
||||
|
|
Loading…
Reference in New Issue