mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu
       [not found] <201801141754.lROQHRMR%fengguang.wu@intel.com>
@ 2018-01-16  6:34 ` Dhaval Shah
  2018-01-16  7:35   ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Dhaval Shah @ 2018-01-16  6:34 UTC (permalink / raw)
  To: michal.simek, pombredanne, tglx, kstewart, gregkh
  Cc: linux-arm-kernel, linux-kernel, Dhaval Shah

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>
---
 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
--
2.7.4

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu
  2018-01-16  6:34 ` [PATCH] soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu Dhaval Shah
@ 2018-01-16  7:35   ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2018-01-16  7:35 UTC (permalink / raw)
  To: Dhaval Shah, michal.simek, pombredanne, tglx, kstewart, gregkh
  Cc: linux-arm-kernel, linux-kernel, Dhaval Shah

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-16  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201801141754.lROQHRMR%fengguang.wu@intel.com>
2018-01-16  6:34 ` [PATCH] soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu Dhaval Shah
2018-01-16  7:35   ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®