regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C
authorHenry Chen <henryc.chen@mediatek.com>
Tue, 17 Nov 2015 08:36:49 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:17 +0000 (15:07 -0800)
commit7d661c4658ce4485d5737eb522303d6eefa42749
treef02578bb92da7b0c54a98096ff47ac52eeef2c30
parent40ab2d7d44aff753b6c43f016b6fdb166fe8e4ff
regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C

commit aab3c3f34cc2dd8230052770712606d65de6538f upstream.

This patch fix the below build error:
drivers/regulator/mt6311-regulator.c:111: undefined reference to `__devm_regmap_init_i2c'

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/Kconfig