staging: axis-fifo: add unspecified HAS_IOMEM dependency
authorBrendan Higgins <brendanhiggins@google.com>
Wed, 11 Dec 2019 19:27:41 +0000 (11:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Jan 2020 11:21:35 +0000 (12:21 +0100)
commitba90ce119dd4368b3c4effc2f38061b049791ae5
treed10f05a02b7e9c33f7710db03b87be746662c248
parent90fe4a970886de4c9c23237d11103d9b5e19f1c6
staging: axis-fifo: add unspecified HAS_IOMEM dependency

[ Upstream commit d3aa8de6b5d0853c43c616586b4e232aa1fa7de9 ]

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 <brendanhiggins@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Link: https://lore.kernel.org/r/20191211192742.95699-7-brendanhiggins@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/axis-fifo/Kconfig