diff mbox series

[v1] drivers: sm: fix build warning

Message ID 20231005081936.72178-1-avromanov@salutedevices.com
State New
Delegated to: Neil Armstrong
Headers show
Series [v1] drivers: sm: fix build warning | expand

Commit Message

Alexey Romanov Oct. 5, 2023, 8:19 a.m. UTC
This fixes following warning during u-boot build:
WARNING: unmet direct dependencies detected for MESON_SM
  Depends on [n]: SM [=n]
  Selected by [y]:
  - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y]

Fixes: 9849712e7655 ("drivers: introduce Meson Secure Monitor driver")

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
---
 drivers/sm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Neil Armstrong Oct. 5, 2023, 12:27 p.m. UTC | #1
On 05/10/2023 10:19, Alexey Romanov wrote:
> This fixes following warning during u-boot build:
> WARNING: unmet direct dependencies detected for MESON_SM
>    Depends on [n]: SM [=n]
>    Selected by [y]:
>    - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y]
> 
> Fixes: 9849712e7655 ("drivers: introduce Meson Secure Monitor driver")
> 
> Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
> Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
> ---
>   drivers/sm/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/sm/Kconfig b/drivers/sm/Kconfig
> index b4cc3f768e..f0987275d2 100644
> --- a/drivers/sm/Kconfig
> +++ b/drivers/sm/Kconfig
> @@ -3,7 +3,7 @@ config SM
>   
>   config MESON_SM
>   	bool "Amlogic Secure Monitor driver"
> -	depends on SM
> +	select SM
>   	default n
>   	help
>   	  Say y here to enable the Amlogic secure monitor driver.

Thanks,

Squashed into 9849712e7655 ("drivers: introduce Meson Secure Monitor driver")

Neil
diff mbox series

Patch

diff --git a/drivers/sm/Kconfig b/drivers/sm/Kconfig
index b4cc3f768e..f0987275d2 100644
--- a/drivers/sm/Kconfig
+++ b/drivers/sm/Kconfig
@@ -3,7 +3,7 @@  config SM
 
 config MESON_SM
 	bool "Amlogic Secure Monitor driver"
-	depends on SM
+	select SM
 	default n
 	help
 	  Say y here to enable the Amlogic secure monitor driver.