summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2020-11-19 00:29:03 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-23 17:59:51 +0100
commit1f59b0663d2db724d4fe8b8704cada916f795518 (patch)
treef4a1d7a8adabba2b1793a2c672cb492fb92970bd /drivers/staging
parent1b9419d1f676b7e5597e5c4593f3d8bbb28372ff (diff)
downloadlinux-stable-1f59b0663d2db724d4fe8b8704cada916f795518.tar.gz
linux-stable-1f59b0663d2db724d4fe8b8704cada916f795518.tar.bz2
linux-stable-1f59b0663d2db724d4fe8b8704cada916f795518.zip
staging: hikey9xx: Specify HAS_IOMEM dependency for MFD_HI6421_SPMI
MFD_CORE is selected by MFD_HI6421_SPMI, and MFD_CORE depends on HAS_IOMEM. If HAS_IOMEM is not set, this can cause a conflict in Kconfig resolution, yielding the following error: WARNING: unmet direct dependencies detected for MFD_CORE Depends on [n]: HAS_IOMEM [=n] Selected by [y]: - MFD_HI6421_SPMI [=y] && STAGING [=y] && OF [=y] && SPMI [=y] By specifying HAS_IOMEM as a dependency for MFD_HI6421_SPMI (as SPMI_HISI3670 already dows), this issue is resolved, and no such warning appears when building on architectures without HAS_IOMEM. Signed-off-by: David Gow <davidgow@google.com> Link: https://lore.kernel.org/r/20201119082903.3601758-1-davidgow@google.com 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 b29f5d5df134..2e48ded92a7e 100644
--- a/drivers/staging/hikey9xx/Kconfig
+++ b/drivers/staging/hikey9xx/Kconfig
@@ -25,6 +25,7 @@ config SPMI_HISI3670
# to be placed at drivers/mfd
config MFD_HI6421_SPMI
tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC"
+ depends on HAS_IOMEM
depends on OF
depends on SPMI
select MFD_CORE