aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-02-22 06:23:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-05 15:20:29 -0500
commit5685e24446ab9aa0a529cf87a69ad73f4775888a (patch)
tree4fc47a4818b7c10791a34434d987b9dff5353547
parentba6ed7e1ec8624ef21b077272fd0126c95c4e0e0 (diff)
nvmem: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/nvmem/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 5bd18cc1a69c..ca52952d850f 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -37,6 +37,7 @@ config NVMEM_LPC18XX_EEPROM
37config NVMEM_MXS_OCOTP 37config NVMEM_MXS_OCOTP
38 tristate "Freescale MXS On-Chip OTP Memory Support" 38 tristate "Freescale MXS On-Chip OTP Memory Support"
39 depends on ARCH_MXS || COMPILE_TEST 39 depends on ARCH_MXS || COMPILE_TEST
40 depends on HAS_IOMEM
40 help 41 help
41 If you say Y here, you will get readonly access to the 42 If you say Y here, you will get readonly access to the
42 One Time Programmable memory pages that are stored 43 One Time Programmable memory pages that are stored
@@ -59,6 +60,7 @@ config MTK_EFUSE
59config QCOM_QFPROM 60config QCOM_QFPROM
60 tristate "QCOM QFPROM Support" 61 tristate "QCOM QFPROM Support"
61 depends on ARCH_QCOM || COMPILE_TEST 62 depends on ARCH_QCOM || COMPILE_TEST
63 depends on HAS_IOMEM
62 select REGMAP_MMIO 64 select REGMAP_MMIO
63 help 65 help
64 Say y here to enable QFPROM support. The QFPROM provides access 66 Say y here to enable QFPROM support. The QFPROM provides access
@@ -70,6 +72,7 @@ config QCOM_QFPROM
70config ROCKCHIP_EFUSE 72config ROCKCHIP_EFUSE
71 tristate "Rockchip eFuse Support" 73 tristate "Rockchip eFuse Support"
72 depends on ARCH_ROCKCHIP || COMPILE_TEST 74 depends on ARCH_ROCKCHIP || COMPILE_TEST
75 depends on HAS_IOMEM
73 help 76 help
74 This is a simple drive to dump specified values of Rockchip SoC 77 This is a simple drive to dump specified values of Rockchip SoC
75 from eFuse, such as cpu-leakage. 78 from eFuse, such as cpu-leakage.
@@ -91,6 +94,7 @@ config NVMEM_SUNXI_SID
91config NVMEM_VF610_OCOTP 94config NVMEM_VF610_OCOTP
92 tristate "VF610 SoC OCOTP support" 95 tristate "VF610 SoC OCOTP support"
93 depends on SOC_VF610 || COMPILE_TEST 96 depends on SOC_VF610 || COMPILE_TEST
97 depends on HAS_IOMEM
94 help 98 help
95 This is a driver for the 'OCOTP' peripheral available on Vybrid 99 This is a driver for the 'OCOTP' peripheral available on Vybrid
96 devices like VF5xx and VF6xx. 100 devices like VF5xx and VF6xx.