diff options
author | John Garry <john.garry@huawei.com> | 2018-04-19 16:14:02 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-26 16:53:23 +0200 |
commit | 4b313ca7b661ab8782f3dcb4a8996632a470b4da (patch) | |
tree | fac75f8c2ba2c3afbd13f26ca93b2bf3eecb9f2f /drivers/bus/Kconfig | |
parent | Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kh... (diff) | |
download | linux-4b313ca7b661ab8782f3dcb4a8996632a470b4da.tar.xz linux-4b313ca7b661ab8782f3dcb4a8996632a470b4da.zip |
HISI LPC: Add Kconfig MFD_CORE dependency
For ACPI support of the HiSilicon LPC driver we depend
on MFD_CORE config.
Currently the HiSi LPC Kconfig entry does not define this
dependency, so add it.
The reason for depending on MFD_CORE in the driver is
that we model the LPC host as an MFD, in that a platform
device will be created for each device on the bus.
We do this as we need to modify the resources of these
derived platform devices, something which we should not
do to the original devices created in the ACPI scan.
Details in e0aa1563f894 ("HISI LPC: Add ACPI support").
Fixes: e0aa1563f894 ("HISI LPC: Add ACPI support")
Reported-and-tested-by: Tan Xiaojun <tanxiaojun@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus/Kconfig')
-rw-r--r-- | drivers/bus/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index d1c0b60e9326..6dc177bf4c42 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -33,6 +33,7 @@ config HISILICON_LPC bool "Support for ISA I/O space on HiSilicon Hip06/7" depends on ARM64 && (ARCH_HISI || COMPILE_TEST) select INDIRECT_PIO + select MFD_CORE if ACPI help Driver to enable I/O access to devices attached to the Low Pin Count bus on the HiSilicon Hip06/7 SoC. |