regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y
authorAxel Lin <axel.lin@ingics.com>
Fri, 30 Aug 2013 14:13:44 +0000 (22:13 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 30 Aug 2013 15:40:26 +0000 (16:40 +0100)
commit613965fb49d507faa189ebf31767a907d98bb7fd
tree58773bf11446b57306ead7f320308a05a4cc1564
parent631a1fc4d4d8839f7ea04f4d54cf8f247b17ff85
regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y

lp872x regulator driver can be built a module after commit 631a1fc
"regulator: build: Allow most regulators to be built as modules".
Make REGULATOR_LP872X depend on I2C to allow building lp872x module when I2C=m.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/Kconfig