mmc: Fix menuconfig alignment of MMC_SDHCI_* options
authorJean Delvare <jdelvare@suse.de>
Mon, 26 Jan 2015 10:35:44 +0000 (11:35 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Jan 2015 11:32:19 +0000 (12:32 +0100)
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 <jdelvare@suse.de>
Cc: Chris Ball <chris@printf.net>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Albert Herranz <albert_herranz@yahoo.es>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig

index 11f81b6fd6d9411dc4fe73b8caadf28841aae572..f145f1558353f22b34b2110db2522317abe3b65c 100644 (file)
@@ -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