pwm: pca9685: depends on I2C rather than REGMAP_I2C
PATCH 1/1 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]>
--- drivers/pwm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/pwm/Kconfig +2 -1
@@ -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.
Signature · 1 line
1.8.1.2
Quoted 13 lines · Axel Lin
REGMAP_I2Cis not a visible config option.
Thus makePWM_PCA9685depend on I2c and then selectREGMAP_I2C.Signed-off-by Axel Lin <[email protected]>--- drivers/pwm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/pwm/Kconfig +0
-0
drivers/pwm/Kconfig config PWM_MXS · line 129
Quoted 9 lines
drivers/pwm/Kconfig +2
-1@@ -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.
Acked-by Steffen Trumtrar <[email protected]>
Thanks,
Steffen
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Thierry Reding
AppliedQuoted 7 lines · Axel Lin
REGMAP_I2Cis not a visible config option.
Thus makePWM_PCA9685depend on I2c and then selectREGMAP_I2C.Signed-off-by Axel Lin <[email protected]>--- drivers/pwm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Thierry