Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: rt4801: Select REGMAP_I2C to fix build error

Fix build error when CONFIG_REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200819085959.1914471-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
02532cb8 8bdaa438

+1
+1
drivers/regulator/Kconfig
··· 907 907 config REGULATOR_RT4801 908 908 tristate "Richtek RT4801 Regulators" 909 909 depends on I2C 910 + select REGMAP_I2C 910 911 help 911 912 This adds support for voltage regulators in Richtek RT4801 Display Bias IC. 912 913 The device supports two regulators (DSVP/DSVN).