diff options
author | Cai Huoqing <cai.huoqing@linux.dev> | 2022-02-08 02:33:08 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-09 05:43:40 +0100 |
commit | 2427f03fb42f9dc14c53108f2c9b5563eb37e770 (patch) | |
tree | 148dfabcfaaaaa8973c2a359fb9a9f6e07b3988d /drivers | |
parent | ibmvnic: don't release napi in __ibmvnic_open() (diff) | |
download | linux-2427f03fb42f9dc14c53108f2c9b5563eb37e770.tar.xz linux-2427f03fb42f9dc14c53108f2c9b5563eb37e770.zip |
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: 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/litex/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig index f99adbf26ab4..04345b929d8e 100644 --- a/drivers/net/ethernet/litex/Kconfig +++ b/drivers/net/ethernet/litex/Kconfig @@ -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. |