diff mbox series

nvmem: imx: scu: fix dependency in Kconfig

Message ID 20191001173232.18822-1-srinivas.kandagatla@linaro.org
State Superseded
Headers show
Series nvmem: imx: scu: fix dependency in Kconfig | expand

Commit Message

Srinivas Kandagatla Oct. 1, 2019, 5:32 p.m. UTC
Fix below error by adding HAVE_ARM_SMCCC dependency in Kconfig
ERROR: "__arm_smccc_smc" [drivers/nvmem/nvmem-imx-ocotp-scu.ko] undefined!

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 drivers/nvmem/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.21.0

Comments

Peng Fan Oct. 9, 2019, 5:46 a.m. UTC | #1
> Subject: [PATCH] nvmem: imx: scu: fix dependency in Kconfig

> 

> Fix below error by adding HAVE_ARM_SMCCC dependency in Kconfig

> ERROR: "__arm_smccc_smc" [drivers/nvmem/nvmem-imx-ocotp-scu.ko]

> undefined!

> 

> Reported-by: kbuild test robot <lkp@intel.com>

> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> ---

>  drivers/nvmem/Kconfig | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index

> 8fd425d38d97..fd0716818881 100644

> --- a/drivers/nvmem/Kconfig

> +++ b/drivers/nvmem/Kconfig

> @@ -50,6 +50,7 @@ config NVMEM_IMX_OCOTP  config

> NVMEM_IMX_OCOTP_SCU

>  	tristate "i.MX8 SCU On-Chip OTP Controller support"

>  	depends on IMX_SCU

> +	depends on HAVE_ARM_SMCCC

>  	help

>  	  This is a driver for the SCU On-Chip OTP Controller (OCOTP)

>  	  available on i.MX8 SoCs.


Thanks for the fix.

Reviewed-by: Peng Fan <peng.fan@nxp.com>


Thanks,
Peng.

> --

> 2.21.0
diff mbox series

Patch

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 8fd425d38d97..fd0716818881 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -50,6 +50,7 @@  config NVMEM_IMX_OCOTP
 config NVMEM_IMX_OCOTP_SCU
 	tristate "i.MX8 SCU On-Chip OTP Controller support"
 	depends on IMX_SCU
+	depends on HAVE_ARM_SMCCC
 	help
 	  This is a driver for the SCU On-Chip OTP Controller (OCOTP)
 	  available on i.MX8 SoCs.