Commit aa43edcb authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 71d4b833
...@@ -331,8 +331,8 @@ config PWM_LPSS ...@@ -331,8 +331,8 @@ config PWM_LPSS
config PWM_LPSS_PCI config PWM_LPSS_PCI
tristate "Intel LPSS PWM PCI driver" tristate "Intel LPSS PWM PCI driver"
depends on X86 && PCI depends on X86 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM && PCI
select PWM_LPSS select PWM_LPSS
help help
The PCI driver for Intel Low Power Subsystem PWM controller. The PCI driver for Intel Low Power Subsystem PWM controller.
...@@ -342,7 +342,7 @@ config PWM_LPSS_PCI ...@@ -342,7 +342,7 @@ config PWM_LPSS_PCI
config PWM_LPSS_PLATFORM config PWM_LPSS_PLATFORM
tristate "Intel LPSS PWM platform driver" tristate "Intel LPSS PWM platform driver"
depends on X86 && ACPI depends on (X86 && ACPI) || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
select PWM_LPSS select PWM_LPSS
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment