diff options
author | Richard Weinberger <richard@nod.at> | 2015-05-04 15:00:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 14:55:15 -0400 |
commit | 61a590fa67ac3c897e7c21fd75a5c85a4671b384 (patch) | |
tree | f952e06ba78afddc22069fbc1841d575b8991efb | |
parent | 9ff2c132345cab8972a2bd29069aa52a3cadbbcc (diff) |
spmi: Add dependency on HAS_IOMEM
Not all architectures have io memory.
Fixes:
drivers/built-in.o: In function `spmi_pmic_arb_probe':
spmi-pmic-arb.c:(.text+0x1ed399): undefined reference to `devm_ioremap_resource'
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/spmi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig index c8d99563d245..982580af1d16 100644 --- a/drivers/spmi/Kconfig +++ b/drivers/spmi/Kconfig | |||
@@ -14,6 +14,7 @@ config SPMI_MSM_PMIC_ARB | |||
14 | tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" | 14 | tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" |
15 | depends on IRQ_DOMAIN | 15 | depends on IRQ_DOMAIN |
16 | depends on ARCH_QCOM || COMPILE_TEST | 16 | depends on ARCH_QCOM || COMPILE_TEST |
17 | depends on HAS_IOMEM | ||
17 | default ARCH_QCOM | 18 | default ARCH_QCOM |
18 | help | 19 | help |
19 | If you say yes to this option, support will be included for the | 20 | If you say yes to this option, support will be included for the |