Let MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER depend on MMC_SDHCI. Not
only this is more correct, but this also avoids breaking the alignment
of all other MMC_SDHCI_* options in menuconfig.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
Cc: Chris Ball <ch...@printf.net>
Cc: Ulf Hansson <ulf.hans...@linaro.org>
Cc: Albert Herranz <albert_herr...@yahoo.es>
---
 drivers/mmc/host/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.19-rc6.orig/drivers/mmc/host/Kconfig        2015-01-26 
11:18:57.715667965 +0100
+++ linux-3.19-rc6/drivers/mmc/host/Kconfig     2015-01-26 11:26:31.986215716 
+0100
@@ -57,6 +57,7 @@ config MMC_SDHCI_IO_ACCESSORS
 
 config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
        bool
+       depends on MMC_SDHCI
        select MMC_SDHCI_IO_ACCESSORS
        help
          This option is selected by drivers running on big endian hosts


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to