summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-12-17 11:51:29 +0800
committerThierry Reding <thierry.reding@gmail.com>2013-12-17 10:18:07 +0100
commit2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6 (patch)
tree5484516082cfc9c695fba22674c6ba1f78782471 /drivers/pwm
parent94d88d63c64a2d9420b77f5efa3f9bf2103fb9a8 (diff)
downloadlinux-rpi-2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6.tar.gz
linux-rpi-2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6.tar.bz2
linux-rpi-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>
Diffstat (limited to 'drivers/pwm')
-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.