staging: hikey9xx: fix Kconfig dependency chain
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 18 Aug 2020 14:58:53 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 15:05:14 +0000 (17:05 +0200)
commit78dd4243574ffc05c266e5cab7c0d3ebafea51dd
treec334235291471012d055c103dc57709e6f8a5ce0
parent561e174eb3a153d4e4a3c8da10cabe96c686108b
staging: hikey9xx: fix Kconfig dependency chain

Both the SPMI controller and the SPMI PMIC driver
depends on the SPMI bus support.

The dependency for the regulator is also wrong:
it should depends on the SPMI version of the HiSilicon 6421,
and not on the normal one.

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