[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1524138946-136701-1-git-send-email-john.garry@huawei.com>
Date: Thu, 19 Apr 2018 19:55:46 +0800
From: John Garry <john.garry@...wei.com>
To: <xuwei5@...wei.com>
CC: <arnd@...db.de>, <geert+renesas@...der.be>,
<horms+renesas@...ge.net.au>, <gregkh@...uxfoundation.org>,
<paul.gortmaker@...driver.com>, <robin.murphy@....com>,
<sebastien.bourdelin@...oirfairelinux.com>,
<bogdan.purcareata@....com>, <tony@...mide.com>,
<linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
<helgaas@...nel.org>, <olof@...om.net>, <khilman@...nel.org>,
<tanxiaojun@...wei.com>, John Garry <john.garry@...wei.com>
Subject: [PATCH] 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.
Fixes: e0aa1563f894 ("HISI LPC: Add ACPI support")
Reported-and-tested-by: Tan Xiaojun <tanxiaojun@...wei.com>
Signed-off-by: John Garry <john.garry@...wei.com>
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index d1c0b60..6dc177b 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.
--
1.9.1
Powered by blists - more mailing lists