Skip to contentSkip to conversation

mfd: Make MC13783 driver depend on SPI

PATCH In review Mark Brown 2 participants 2 messages Aug 18, 2009 – Aug 19, 2009 Multifunction devices (MFD)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Make MC13783 driver depend on SPI

The Atlas chips need SPI to be enabled for chip access, if it is not available build failures result due to the use of the SPI APIs for register I/O.

---
 drivers/mfd/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/Kconfig +1 -0
index 960c9d4..a4f3dff 100644
@@ -240,6 +240,7 @@ config MFD_PCF50633
 
 config MFD_MC13783
 	tristate "Support Freescale MC13783"
+	depends on SPI_MASTER
 	select MFD_CORE
 	help
 	  Support for the Freescale (Atlas) MC13783 PMIC and audio CODEC.
Signature · 1 line
1.6.3.3
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Mark Brown

The Atlas chips need SPI to be enabled for chip access, if it is not available build failures result due to the use of the SPI APIs for register I/O.

Missed that one.

Quoted 2 lines
Quoted 20 lines
---
 drivers/mfd/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/Kconfig +1 -0
index 960c9d4..a4f3dff 100644
@@ -240,6 +240,7 @@ config MFD_PCF50633
 
 config MFD_MC13783
 	tristate "Support Freescale MC13783"
+	depends on SPI_MASTER
 	select MFD_CORE
 	help
 	  Support for the Freescale (Atlas) MC13783 PMIC and audio CODEC.
Signature · 1 line
1.6.3.3
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |