Skip to contentSkip to conversation

net: ethernet: litex: Add the dependency on HAS_IOMEM

PATCH Applied Cai Huoqing 2 participants 2 messages Feb 8, 2022 – Feb 9, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: ethernet: litex: Add the dependency on HAS_IOMEM

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

Fixes ee7da21ac4c3 ("net: Add driver for LiteX's LiteETH network interface")
---
 drivers/net/ethernet/litex/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/litex/Kconfig +1 -1
index f99adbf26ab4..04345b929d8e 100644
@@ -17,7 +17,7 @@ if NET_VENDOR_LITEX
 
 config LITEX_LITEETH
 	tristate "LiteX Ethernet support"
-	depends on OF
+	depends on OF && HAS_IOMEM
 	help
 	  If you wish to compile a kernel for hardware with a LiteX LiteEth
 	  device then you should answer Y to this.
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Tue, 8 Feb 2022 09:33:08 +0800 you wrote:

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

Fixes ee7da21ac4c3 ("net: Add driver for LiteX's LiteETH network interface")
---
 drivers/net/ethernet/litex/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [v2] net: ethernet: litex: Add the dependency on HAS_IOMEM

    https://git.kernel.org/netdev/net/c/2427f03fb42f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html