aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2013-12-17 03:51:29 +0000
committerThierry Reding <[email protected]>2013-12-17 09:18:07 +0000
commit2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6 (patch)
tree5484516082cfc9c695fba22674c6ba1f78782471
parentpwm: renesas-tpu: Enable driver compilation with COMPILE_TEST (diff)
downloadkernel-2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6.tar.gz
kernel-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 <[email protected]> Acked-by: Steffen Trumtrar <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
-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.