soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu
authorDhaval Shah <dhaval.shah@xilinx.com>
Tue, 16 Jan 2018 06:34:48 +0000 (22:34 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Jan 2018 07:34:30 +0000 (08:34 +0100)
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@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/soc/xilinx/Kconfig

index 266b50ffe349e817dfc3945a1d6e51cfe89319de..bf657ab3a2cc9ab88cbda8f725c0c6a25672ee3d 100644 (file)
@@ -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