diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-11-18 12:45:09 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 16:19:00 +0300 |
commit | aa43edcbc898afffb061f560d928d43bd55f4dc3 (patch) | |
tree | b714460c1f884bc9ba9951d4d70654d270423eb8 /drivers/pwm/Kconfig | |
parent | 71d4b833da7fb0f80f78a045e5796c9e3a880f09 (diff) | |
download | linux-aa43edcbc898afffb061f560d928d43bd55f4dc3.tar.xz |
pwm: lpss: Make compilable with COMPILE_TEST
All used ACPI functions have dummy implementations, and there is no hard
dependency on x86.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r-- | drivers/pwm/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index ab0606bbe234..0937e1c047ac 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -331,8 +331,8 @@ config PWM_LPSS config PWM_LPSS_PCI tristate "Intel LPSS PWM PCI driver" - depends on X86 && PCI - depends on HAS_IOMEM + depends on X86 || COMPILE_TEST + depends on HAS_IOMEM && PCI select PWM_LPSS help The PCI driver for Intel Low Power Subsystem PWM controller. @@ -342,7 +342,7 @@ config PWM_LPSS_PCI config PWM_LPSS_PLATFORM tristate "Intel LPSS PWM platform driver" - depends on X86 && ACPI + depends on (X86 && ACPI) || COMPILE_TEST depends on HAS_IOMEM select PWM_LPSS help |