pwm: lpss: Select core part automatically
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Nov 2015 11:25:17 +0000 (13:25 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Dec 2015 15:50:31 +0000 (16:50 +0100)
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>
drivers/pwm/Kconfig

index 2f4641a0e88bc3da19e28c3a8e3f432c14f504a9..aef635b7e2d1ede98d3c23a12057e8cc090532ab 100644 (file)
@@ -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.