build: define PWM_SUPPORT arch feature flag

As the PWM has its own sub-system in the Linux kernel,
I think it should be handled in the same way as GPIO, RTC, PCI...

This patch introduces a specific feature flag "pwm" and the
"leds-pwm" kernel module as the first customer.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Christian Lamparter
2020-08-29 23:07:28 +02:00
parent fed1788689
commit f6fbc39706
3 changed files with 20 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ config PCIE_SUPPORT
config PCMCIA_SUPPORT
bool
config PWM_SUPPORT
bool
config USB_SUPPORT
select AUDIO_SUPPORT
bool