blob: 425c54d3c89d84acd162e7e59d9da169d40b3d04 [file] [log] [blame]
From 584bb34275385c1fd81e6e111fc9579ffe6926d7 Mon Sep 17 00:00:00 2001
From: Brendan Higgins <>
Date: Wed, 11 Dec 2019 11:27:41 -0800
Subject: [PATCH] staging: axis-fifo: add unspecified HAS_IOMEM dependency
commit d3aa8de6b5d0853c43c616586b4e232aa1fa7de9 upstream.
Currently CONFIG_XIL_AXIS_FIFO=y implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:
ld: drivers/staging/axis-fifo/axis-fifo.o: in function `axis_fifo_probe':
drivers/staging/axis-fifo/axis-fifo.c:809: undefined reference to `devm_ioremap_resource'
Fix the build error by adding the unspecified dependency.
Reported-by: Brendan Higgins <>
Signed-off-by: Brendan Higgins <>
Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Paul Gortmaker <>
diff --git a/drivers/staging/axis-fifo/Kconfig b/drivers/staging/axis-fifo/Kconfig
index 3fffe4d6f327..f180a8e9f58a 100644
--- a/drivers/staging/axis-fifo/Kconfig
+++ b/drivers/staging/axis-fifo/Kconfig
@@ -4,7 +4,7 @@
tristate "Xilinx AXI-Stream FIFO IP core driver"
- depends on OF
+ depends on OF && HAS_IOMEM
This adds support for the Xilinx AXI-Stream FIFO IP core driver.
The AXI Streaming FIFO allows memory mapped access to a AXI Streaming