Messages in this thread Patch in this message | | | From | Krzysztof Kozlowski <> | Subject | [PATCH] fpga: Fix build error of missing devm_ioremap_resource on UM | Date | Fri, 04 Mar 2016 10:05:17 +0900 |
| |
The devres.o gets linked if HAS_IOMEM is present so on ARCH=um allyesconfig (COMPILE_TEST) failed with:
drivers/built-in.o: In function `zynq_fpga_probe': zynq-fpga.c:(.text+0x4c4bf7): undefined reference to `devm_ioremap_resource'
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index c9b9fdf6cfbb..36c54afa9915 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA config FPGA_MGR_ZYNQ_FPGA tristate "Xilinx Zynq FPGA" + depends on HAS_IOMEM help FPGA manager driver support for Xilinx Zynq FPGAs. -- 2.5.0
| |