Skip to content

Commit

Permalink
pwm: pca9685: depends on I2C rather than REGMAP_I2C
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Thierry Reding committed Dec 17, 2013
1 parent 94d88d6 commit 2c80a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2c80a49

Please sign in to comment.