linux-stable/drivers/net/ethernet/8390
Arnd Bergmann 067dee6575 net: isa: include net/Space.h
The legacy drivers that still get called from net/Space.c have prototypes
in net/Space, but this header is not included in most of the files that
define those functions:

drivers/net/ethernet/cirrus/cs89x0.c:1649:28: error: no previous prototype for 'cs89x0_probe' [-Werror=missing-prototypes]
drivers/net/ethernet/8390/ne.c:947:28: error: no previous prototype for 'ne_probe' [-Werror=missing-prototypes]
drivers/net/ethernet/8390/smc-ultra.c:167:28: error: no previous prototype for 'ultra_probe' [-Werror=missing-prototypes]
drivers/net/ethernet/amd/lance.c:438:28: error: no previous prototype for 'lance_probe' [-Werror=missing-prototypes]
drivers/net/ethernet/3com/3c515.c:422:20: error: no previous prototype for 'tc515_probe' [-Werror=missing-prototypes]

Add the inclusion to avoids the warnings.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230516194625.549249-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-17 21:27:30 -07:00
..
8390.c
8390.h
8390p.c
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile
apne.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
ax88796.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
axnet_cs.c net: ethernet: 8390: axnet_cs: remove unused xfer_count variable 2023-03-28 23:48:02 -07:00
etherh.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
hydra.c 8390: hydra: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
lib8390.c lib8390: Use netif_msg_init to initialize msg_enable bits 2020-10-01 19:08:46 -07:00
mac8390.c 8390: mac8390: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
mcf8390.c ethernet: 8390: remove unnecessary check of mem 2022-09-29 11:05:23 +02:00
ne.c net: isa: include net/Space.h 2023-05-17 21:27:30 -07:00
ne2k-pci.c ethernet: use eth_hw_addr_set() for dev->addr_len cases 2021-10-05 13:16:48 +01:00
pcnet_cs.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
smc-ultra.c net: isa: include net/Space.h 2023-05-17 21:27:30 -07:00
stnic.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
wd.c net: isa: include net/Space.h 2023-05-17 21:27:30 -07:00
xsurf100.c xsurf100: drop include of lib8390.c 2021-08-03 13:05:26 +01:00
zorro8390.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00