Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uwe Kleine-König and committed by
Uwe Kleine-König
e8af7c08 f2037a3e

+1 -1
+1 -1
drivers/pwm/Kconfig
··· 567 567 tristate "SiFive PWM support" 568 568 depends on OF 569 569 depends on COMMON_CLK && HAS_IOMEM 570 - depends on RISCV || COMPILE_TEST 570 + depends on ARCH_SIFIVE || COMPILE_TEST 571 571 help 572 572 Generic PWM framework driver for SiFive SoCs. 573 573