diff mbox

mmc: Fix menuconfig alignment of MMC_SDHCI_* options

Message ID 20150126113544.3f44e4a1@endymion.delvare (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare Jan. 26, 2015, 10:35 a.m. UTC
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>
---
 drivers/mmc/host/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Ulf Hansson Jan. 27, 2015, 1:57 p.m. UTC | #1
On 26 January 2015 at 11:35, Jean Delvare <jdelvare@suse.de> wrote:
> 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>

Thanks! Applied for next.

Kind regards
Uffe


> ---
>  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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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