Re: [PATCH] mmc: Add architecture dependency for Marvell SoC controller

From: Arnd Bergmann
Date: Mon Sep 13 2010 - 06:48:50 EST


On Monday 13 September 2010, Mark Brown wrote:
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index ce099c4..5fa4e2b 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -133,6 +133,7 @@ config MMC_SDHCI_CNS3XXX
> config MMC_SDHCI_MV
> tristate "SDHCI support on Marvell's SoC"
> depends on MMC_SDHCI
> + depends on (PLAT_PXA || PLAT_ORION)
> select MMC_SDHCI_IO_ACCESSORS
> help
> This selects the Secure Digital Host Controller Interface in

I think we normally try to do the the other way round: in order to increase
build coverage, try to enable all drivers on as many platforms as possible,
just don't have them in the defconfig.

Do you get build errors on other platforms? If yes, there is probably
a bug in the driver that should be fixed instead.

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