summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-11-18 13:25:17 +0200
committerThierry Reding <thierry.reding@gmail.com>2015-12-16 16:50:31 +0100
commit6f90a00c6667dce5651341f0629443cf7951b235 (patch)
tree3e902d776ea08e26e84f460813fd209390268335
parent883e4d070fe125028c0579d8666b820aadf458fb (diff)
downloadop-kernel-dev-6f90a00c6667dce5651341f0629443cf7951b235.zip
op-kernel-dev-6f90a00c6667dce5651341f0629443cf7951b235.tar.gz
pwm: lpss: Select core part automatically
We have two users of core part right now. Let them to select core part automatically. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r--drivers/pwm/Kconfig15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 2f4641a..aef635b 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -222,18 +222,12 @@ config PWM_LPC32XX
will be called pwm-lpc32xx.
config PWM_LPSS
- tristate "Intel LPSS PWM support"
- depends on X86
- help
- Generic PWM framework driver for Intel Low Power Subsystem PWM
- controller.
-
- To compile this driver as a module, choose M here: the module
- will be called pwm-lpss.
+ tristate
config PWM_LPSS_PCI
tristate "Intel LPSS PWM PCI driver"
- depends on PWM_LPSS && PCI
+ depends on X86 && PCI
+ select PWM_LPSS
help
The PCI driver for Intel Low Power Subsystem PWM controller.
@@ -242,7 +236,8 @@ config PWM_LPSS_PCI
config PWM_LPSS_PLATFORM
tristate "Intel LPSS PWM platform driver"
- depends on PWM_LPSS && ACPI
+ depends on X86 && ACPI
+ select PWM_LPSS
help
The platform driver for Intel Low Power Subsystem PWM controller.
OpenPOWER on IntegriCloud