[PATCH] mfd: Make MC13783 driver depend on SPI

From: Mark Brown
Date: Tue Aug 18 2009 - 18:54:22 EST


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.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
drivers/mfd/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 960c9d4..a4f3dff 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -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.
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/