Re: [PATCH] mfd: Make MC13783 driver depend on SPI

From: Sascha Hauer
Date: Wed Aug 19 2009 - 03:43:25 EST


On Tue, Aug 18, 2009 at 11:54:05PM +0100, Mark Brown wrote:
> 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.

>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Acked-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>


> ---
> 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
>
>

--
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 |
--
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/