diff mbox series

mmc: sdhci-of-aspeed: Add dependency on ARCH_ASPEED

Message ID 20220916115602.370003-1-pbrobinson@gmail.com
State New
Headers show
Series mmc: sdhci-of-aspeed: Add dependency on ARCH_ASPEED | expand

Commit Message

Peter Robinson Sept. 16, 2022, 11:56 a.m. UTC
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@gmail.com>
---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Ulf Hansson Sept. 21, 2022, 12:48 p.m. UTC | #1
On Fri, 16 Sept 2022 at 13:56, Peter Robinson <pbrobinson@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@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
>
diff mbox series

Patch

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