We can only have one pwm driver built into the kernel, so make sure
that this one is only available on omap2 to avoid conflicts with
pwm drivers of other platforms.

Signed-off-by: Arnd Bergmann <a...@arndb.de>
Cc: Samuel Ortiz <sa...@linux.intel.com>
Cc: Peter Ujfalusi <peter.ujfal...@ti.com>
Cc: Balaji T K <balaj...@ti.com>
Cc: Hemanth V <heman...@ti.com>
---
 drivers/mfd/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 48cce35..26bebe8 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -256,8 +256,8 @@ config MFD_TWL4030_AUDIO
        default n
 
 config TWL6030_PWM
-       tristate "TWL6030 PWM (Pulse Width Modulator) Support"
-       depends on TWL4030_CORE
+       bool "TWL6030 PWM (Pulse Width Modulator) Support"
+       depends on TWL4030_CORE && ARCH_OMAP2
        select HAVE_PWM
        default n
        help
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to