[PATCH] mmc: sdhci-of-aspeed: Add dependency on ARCH_ASPEED

Ulf Hansson ulf.hansson at linaro.org
Wed Sep 21 22:48:37 AEST 2022


On Fri, 16 Sept 2022 at 13:56, Peter Robinson <pbrobinson at gmail.com> wrote:
>
> The MMC_SDHCI_OF_ASPEED is part of the Aspeed silicon so it makes
> sense to depend on ARCH_ASPEED and for compile testing.
>
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index e63608834411..f324daadaf70 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -157,6 +157,7 @@ config MMC_SDHCI_OF_ARASAN
>
>  config MMC_SDHCI_OF_ASPEED
>         tristate "SDHCI OF support for the ASPEED SDHCI controller"
> +       depends on ARCH_ASPEED || COMPILE_TEST
>         depends on MMC_SDHCI_PLTFM
>         depends on OF && OF_ADDRESS
>         select MMC_SDHCI_IO_ACCESSORS
> --
> 2.37.3
>


More information about the Linux-aspeed mailing list