mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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>
This commit is contained in:
parent
f2037a3ee9
commit
e8af7c0835
|
|
@ -567,7 +567,7 @@ config PWM_SIFIVE
|
|||
tristate "SiFive PWM support"
|
||||
depends on OF
|
||||
depends on COMMON_CLK && HAS_IOMEM
|
||||
depends on RISCV || COMPILE_TEST
|
||||
depends on ARCH_SIFIVE || COMPILE_TEST
|
||||
help
|
||||
Generic PWM framework driver for SiFive SoCs.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user