On Tue, Dec 17, 2013 at 11:51:29AM +0800, Axel Lin wrote: > 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(-) > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 77aef3b..7139e1d 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -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 -- 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 | -- To unsubscribe from this list: send the line "unsubscribe linux-pwm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
