[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211216200154.1520-1-gerhard@engleder-embedded.com>
Date: Thu, 16 Dec 2021 21:01:54 +0100
From: Gerhard Engleder <gerhard@...leder-embedded.com>
To: davem@...emloft.net, kuba@...nel.org
Cc: netdev@...r.kernel.org,
Gerhard Engleder <gerhard@...leder-embedded.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH net-next] tsnep: Fix s390 devm_ioremap_resource warning
From: Gerhard Engleder <gerhard@...leder-embedded.com>
The following warning is fixed with additional config dependencies:
s390-linux-ld: drivers/net/ethernet/engleder/tsnep_main.o: in function `tsnep_probe':
tsnep_main.c:(.text+0x1de6): undefined reference to `devm_ioremap_resource'
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Gerhard Engleder <gerhard@...leder-embedded.com>
---
drivers/net/ethernet/engleder/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/engleder/Kconfig b/drivers/net/ethernet/engleder/Kconfig
index 614dcc65c634..f4e2b1102d8f 100644
--- a/drivers/net/ethernet/engleder/Kconfig
+++ b/drivers/net/ethernet/engleder/Kconfig
@@ -18,6 +18,7 @@ if NET_VENDOR_ENGLEDER
config TSNEP
tristate "TSN endpoint support"
+ depends on HAS_IOMEM && HAS_DMA
depends on PTP_1588_CLOCK_OPTIONAL
select PHYLIB
help
--
2.20.1
Powered by blists - more mailing lists