net: ethernet: litex: Add the dependency on HAS_IOMEM
authorCai Huoqing <cai.huoqing@linux.dev>
Tue, 8 Feb 2022 01:33:08 +0000 (09:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:41 +0000 (19:12 +0100)
commitf510d6463949a07bf03fc03910628fce06edb732
tree4203b423cb96f2e3f952d84c66bbd950122f9424
parent3a3aa0881aebf1b81d0a37bb07d2b1aa307e4895
net: ethernet: litex: Add the dependency on HAS_IOMEM

[ Upstream commit 2427f03fb42f9dc14c53108f2c9b5563eb37e770 ]

The LiteX driver uses devm io function API which
needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM.

Fixes: ee7da21ac4c3 ("net: Add driver for LiteX's LiteETH network interface")
Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20220208013308.6563-1-cai.huoqing@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/litex/Kconfig