regulator: ltc3589: Fix module dependency
authorAxel Lin <axel.lin@ingics.com>
Tue, 27 May 2014 05:51:49 +0000 (13:51 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 27 May 2014 11:06:32 +0000 (12:06 +0100)
commitac1d686846d23b2665e9d4791e32af70e251da90
tree53928b2ffb4436cba0cd6422dab9b669c30659f5
parent3eb2c7ecb7ea0fad4a53cbedcb87341dcffcea2b
regulator: ltc3589: Fix module dependency

Make this driver depend on I2C and select REGMAP_I2C to fix build failure.
Also allows this driver to be built as module.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/Kconfig