mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
ANDROID: irqchip: Kconfig: Make QCOM_PDC depend on QCOM_SCM || !QCOM_SCM
The qcom-pdc code calls qcom_scm_*, and since the QCOM_SCM
config can now be set as a module, this requires the QCOM_PDC
also be a module in that case, so make the dependency explicit
in the Kconfig.
This is done via the non-intuitive "depends on QCOM_SCM || !QCOM_SCM"
Kconfig syntax, which basically ensures that QCOM_SCM isn't
configured as a module if ARM_SMMU is built in.
Fixes: 6a1652effd ("ANDROID: firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module")
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie1a3c0644e49646c2b071b878cf1263d46be8e0d
This commit is contained in:
@@ -427,6 +427,7 @@ config GOLDFISH_PIC
|
||||
config QCOM_PDC
|
||||
tristate "QCOM PDC"
|
||||
depends on ARCH_QCOM
|
||||
depends on QCOM_SCM || !QCOM_SCM
|
||||
select IRQ_DOMAIN_HIERARCHY
|
||||
help
|
||||
Power Domain Controller driver to manage and configure wakeup
|
||||
|
||||
Reference in New Issue
Block a user