Commit ebc853a
pwm: PWM_SIFIVE_PTC should depend on SOC_SIFIVE || SOC_STARFIVE
The SiFive PWM PTC is only present on SiFive and StarFive SoCs. Hence
add a dependency on SOC_SIFIVE || SOC_STARFIVE, to prevent asking the
user about this driver when configuring a kernel without SiFive or
StarFive SoC support.
Fixes: 2949bba ("drivers/pwm: Add SiFive PWM PTC driver")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>1 parent 1001b8e commit ebc853a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
497 | 498 | | |
498 | 499 | | |
499 | 500 | | |
| |||
0 commit comments