Skip to content

Commit 2427f03

Browse files
caihuoqkuba-moo
authored andcommitted
net: ethernet: litex: Add the dependency on HAS_IOMEM
The LiteX driver uses devm io function API which needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. Fixes: ee7da21 ("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>
1 parent 61772b0 commit 2427f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/litex/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if NET_VENDOR_LITEX
1717

1818
config LITEX_LITEETH
1919
tristate "LiteX Ethernet support"
20-
depends on OF
20+
depends on OF && HAS_IOMEM
2121
help
2222
If you wish to compile a kernel for hardware with a LiteX LiteEth
2323
device then you should answer Y to this.

0 commit comments

Comments
 (0)