aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-18 18:04:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 19:15:47 +0200
commitbc752d2f345bf55d71b3422a6a24890ea03168dc (patch)
treeb8fa6957b8b5a513e650792acfd95c1bd94297f6 /drivers/staging
parentstaging: emxx_udc: Allow for building on !ARM (diff)
downloadlinux-dev-bc752d2f345bf55d71b3422a6a24890ea03168dc.tar.xz
linux-dev-bc752d2f345bf55d71b3422a6a24890ea03168dc.zip
staging: hikey9xx: Kconfig: add regulator dependency
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/hikey9xx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/hikey9xx/Kconfig b/drivers/staging/hikey9xx/Kconfig
index a004839e8fa9..0e97b5b9a56a 100644
--- a/drivers/staging/hikey9xx/Kconfig
+++ b/drivers/staging/hikey9xx/Kconfig
@@ -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.