Skip to content

Commit e8af7c0

Browse files
ukleinekUwe Kleine-König
authored andcommitted
pwm: Strengthen dependency for PWM_SIFIVE
Back when the sifive pwm driver was added there was no symbol for sifive SoCs yet. Today there is ARCH_SIFIVE however. Let PWM_SIFIVE depend on that to ensure the driver is only build for platforms where there is a chance that the hardware is available. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20250127105001.587610-2-u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
1 parent f2037a3 commit e8af7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ config PWM_SIFIVE
567567
tristate "SiFive PWM support"
568568
depends on OF
569569
depends on COMMON_CLK && HAS_IOMEM
570-
depends on RISCV || COMPILE_TEST
570+
depends on ARCH_SIFIVE || COMPILE_TEST
571571
help
572572
Generic PWM framework driver for SiFive SoCs.
573573

0 commit comments

Comments
 (0)