Skip to contentSkip to conversation

mmc: Fix menuconfig alignment of MMC_SDHCI_* options

PATCH Applied Jean Delvare 2 participants 2 messages Jan 26, 2015 – Jan 27, 2015 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: Fix menuconfig alignment of MMC_SDHCI_* options

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.

Cc Chris Ball <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Albert Herranz <[email protected]>
---
 drivers/mmc/host/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -0
@@ -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
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Applied
#1 lore raw
Quoted 8 lines · Jean Delvare

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.

Cc Chris Ball <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Albert Herranz <[email protected]>

Thanks! Applied for next.

Kind regards
Uffe

Quoted 19 lines
---
 drivers/mmc/host/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig 2015-01-26 11:26:31.986215716 +0100 renamed from drivers/mmc/host/Kconfig 2015-01-26 11:18:57.715667965 +0100 +1 -1
@@ -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