2023-05-02 10:22:01

by Philipp Zabel

[permalink] [raw]
Subject: [PATCH] reset: starfive: select AUXILIARY_BUS

CONFIG_AUXILIARY_BUS is not a user-visible symbol, replace 'depends on'
with 'select'.

Cc: Emil Renner Berthing <[email protected]>
Cc: Hal Feng <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
---
drivers/reset/starfive/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/reset/starfive/Kconfig b/drivers/reset/starfive/Kconfig
index 1fa706a2c3dc..d832339f61bc 100644
--- a/drivers/reset/starfive/Kconfig
+++ b/drivers/reset/starfive/Kconfig
@@ -13,7 +13,8 @@ config RESET_STARFIVE_JH7100

config RESET_STARFIVE_JH7110
bool "StarFive JH7110 Reset Driver"
- depends on AUXILIARY_BUS && CLK_STARFIVE_JH7110_SYS
+ depends on CLK_STARFIVE_JH7110_SYS
+ select AUXILIARY_BUS
select RESET_STARFIVE_JH71X0
default ARCH_STARFIVE
help
--
2.39.2


2023-05-02 12:10:54

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] reset: starfive: select AUXILIARY_BUS

On Tue, May 2, 2023, at 12:20, Philipp Zabel wrote:
> CONFIG_AUXILIARY_BUS is not a user-visible symbol, replace 'depends on'
> with 'select'.
>
> Cc: Emil Renner Berthing <[email protected]>
> Cc: Hal Feng <[email protected]>
> Suggested-by: Arnd Bergmann <[email protected]>
> Signed-off-by: Philipp Zabel <[email protected]>

Reviewed-by: Arnd Bergmann <[email protected]>

2023-05-04 02:56:32

by Hal Feng

[permalink] [raw]
Subject: Re: [PATCH] reset: starfive: select AUXILIARY_BUS

On Tue, 2 May 2023 12:20:50 +0200, Philipp Zabel wrote:
> CONFIG_AUXILIARY_BUS is not a user-visible symbol, replace 'depends on'
> with 'select'.
>
> Cc: Emil Renner Berthing <[email protected]>
> Cc: Hal Feng <[email protected]>
> Suggested-by: Arnd Bergmann <[email protected]>
> Signed-off-by: Philipp Zabel <[email protected]>

Reviewed-by: Hal Feng <[email protected]>

> ---
> drivers/reset/starfive/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/reset/starfive/Kconfig b/drivers/reset/starfive/Kconfig
> index 1fa706a2c3dc..d832339f61bc 100644
> --- a/drivers/reset/starfive/Kconfig
> +++ b/drivers/reset/starfive/Kconfig
> @@ -13,7 +13,8 @@ config RESET_STARFIVE_JH7100
>
> config RESET_STARFIVE_JH7110
> bool "StarFive JH7110 Reset Driver"
> - depends on AUXILIARY_BUS && CLK_STARFIVE_JH7110_SYS
> + depends on CLK_STARFIVE_JH7110_SYS
> + select AUXILIARY_BUS
> select RESET_STARFIVE_JH71X0
> default ARCH_STARFIVE
> help