]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/power/supply/Kconfig
power: supply: ucs1002: Fix build error without CONFIG_REGULATOR
[linux.git] / drivers / power / supply / Kconfig
index fb813b14d55df8518141d8fc52c716c50945ee67..678de2b04c6605560a0f3f6a403e19e5bcc1cf32 100644 (file)
@@ -675,6 +675,7 @@ config CHARGER_UCS1002
        tristate "Microchip UCS1002 USB Port Power Controller"
        depends on I2C
        depends on OF
+       depends on REGULATOR
        select REGMAP_I2C
        help
          Say Y to enable support for Microchip UCS1002 Programmable