diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-06-02 13:19:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 16:42:55 +0200 |
commit | 63c0c076e590ed83050c80ada2e82adeac9de126 (patch) | |
tree | f7d71844c585f3319ecc4b34a24271cef3823a0a /drivers/nvmem/Kconfig | |
parent | nvmem: Declare nvmem_cell_read() consistently (diff) | |
download | linux-63c0c076e590ed83050c80ada2e82adeac9de126.tar.xz linux-63c0c076e590ed83050c80ada2e82adeac9de126.zip |
nvmem: imx-ocotp: add COMPILE_TEST for proper test coverage
This patch add COMPILE_TEST to imx-ocotp driver so that it can be
compile tested on other platforms with zero day testing.
Also adds HAS_IOMEM dependancy as the users of devm_ioremap_resource()
which are compile-testable should depend on HAS_IOMEM.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r-- | drivers/nvmem/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 5ff21892bcd6..f550c4596a7a 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -15,7 +15,8 @@ if NVMEM config NVMEM_IMX_OCOTP tristate "i.MX6 On-Chip OTP Controller support" - depends on SOC_IMX6 + depends on SOC_IMX6 || COMPILE_TEST + depends on HAS_IOMEM help This is a driver for the On-Chip OTP Controller (OCOTP) available on i.MX6 SoCs, providing access to 4 Kbits of one-time programmable |