Re: [PATCH] reset: starfive: select AUXILIARY_BUS
From: Hal Feng
Date: Wed May 03 2023 - 22:38:20 EST
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 <kernel@xxxxxxxx>
> Cc: Hal Feng <hal.feng@xxxxxxxxxxxxxxxx>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
Reviewed-by: Hal Feng <hal.feng@xxxxxxxxxxxxxxxx>
> ---
> 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