From: Quentin Schulz <[email protected]>

Since it is registered as a U_CLASS_DRIVER, Sandbox PWM driver is a
Driver Model Driver and thus to be usable depends on DM_PWM to be
selected.

Let's make sure of that via the appropriate Kconfig option.

Signed-off-by: Quentin Schulz <[email protected]>
---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index ec57a967721..e8a21653020 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -82,6 +82,7 @@ config PWM_ROCKCHIP
 
 config PWM_SANDBOX
        bool "Enable support for the sandbox PWM"
+       depends on DM_PWM
        help
          This is a sandbox PWM used for testing. It provides 3 channels and
          records the settings passed into it, but otherwise does nothing

-- 
2.51.0

Reply via email to