staging: hikey9xx: Kconfig: add regulator dependency
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 18 Aug 2020 16:04:48 +0000 (18:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 17:15:47 +0000 (19:15 +0200)
The regulator driver needs it, as otherwise it will produce
errors when creating vmlinux.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/a287238bd0141aa68aae7d4cec4c1174a43b3e53.1597766680.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/Kconfig

index a004839e8fa94c2c4c01b5cbf9e67da95137e280..0e97b5b9a56ae2ab6d447f8c1719f268434b8813 100644 (file)
@@ -31,6 +31,7 @@ config MFD_HI6421_SPMI
 config REGULATOR_HI6421V600
        tristate "HiSilicon Hi6421v600 PMIC voltage regulator support"
        depends on MFD_HI6421_SPMI && OF
+       depends on REGULATOR
        help
          This driver provides support for the voltage regulators on
          HiSilicon Hi6421v600 PMU / Codec IC.