[PATCH] soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu

Michal Simek michal.simek at xilinx.com
Mon Jan 15 23:35:26 PST 2018


On 16.1.2018 07:34, Dhaval Shah wrote:
> xlnx_vcu driver uses devm_ioremap_nocache, which is included
> only when HAS_IOMEM is enabled.
> 
> drivers/soc/xilinx/xlnx_vcu.o: In function `xvcu_probe':
>    xlnx_vcu.c:(.text+0x116): undefined reference to `devm_ioremap_nocache'
>    xlnx_vcu.c:(.text+0x1ae): undefined reference to `devm_ioremap_nocache'
> 
> Signed-off-by: Dhaval Shah <dshah at xilinx.com>
> ---
>  drivers/soc/xilinx/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/soc/xilinx/Kconfig b/drivers/soc/xilinx/Kconfig
> index 266b50f..bf657ab 100644
> --- a/drivers/soc/xilinx/Kconfig
> +++ b/drivers/soc/xilinx/Kconfig
> @@ -3,6 +3,7 @@ menu "Xilinx SoC drivers"
>  
>  config XILINX_VCU
>          tristate "Xilinx VCU logicoreIP Init"
> +	depends on HAS_IOMEM
>          help
>            Provides the driver to enable and disable the isolation between the
>            processing system and programmable logic part by using the logicoreIP
> 


Applied.

Thanks,
Michal



More information about the linux-arm-kernel mailing list