summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-12-17 04:51:29 +0100
committerThierry Reding <thierry.reding@gmail.com>2013-12-17 10:18:07 +0100
commit2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6 (patch)
tree5484516082cfc9c695fba22674c6ba1f78782471
parentpwm: renesas-tpu: Enable driver compilation with COMPILE_TEST (diff)
downloadlinux-2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6.tar.xz
linux-2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6.zip
pwm: pca9685: depends on I2C rather than REGMAP_I2C
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> Acked-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r--drivers/pwm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 5de6fcf7f0d4..3f6642751ce5 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -112,7 +112,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.