All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C
@ 2013-12-17  3:51 Axel Lin
  2013-12-17  9:15 ` Steffen Trumtrar
  2013-12-17  9:33 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-12-17  3:51 UTC (permalink / raw)
  To: Thierry Reding; +Cc: Steffen Trumtrar, linux-pwm

REGMAP_I2C is not a visible config option.
Thus make PWM_PCA9685 depend on I2c and then select REGMAP_I2C.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/pwm/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 77aef3b..7139e1d 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -122,7 +122,8 @@ config PWM_MXS
 
 config PWM_PCA9685
 	tristate "NXP PCA9685 PWM driver"
-	depends on OF && REGMAP_I2C
+	depends on OF && I2C
+	select REGMAP_I2C
 	help
 	  Generic PWM framework driver for NXP PCA9685 LED controller.
 
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-17  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17  3:51 [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C Axel Lin
2013-12-17  9:15 ` Steffen Trumtrar
2013-12-17  9:33 ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.