d7e203ffd3
Geert noticed a warning on MIPS TX49xx, Atari and presuambly other
platforms when the driver is built-in but NETDEV_LEGACY_INIT is
disabled:
drivers/net/ethernet/8390/ne.c:909:20: warning: ‘ne_add_devices’ defined but not used [-Wunused-function]
Merge the two module init functions into a single one with an
IS_ENABLED() check to replace the incorrect #ifdef.
Fixes:
|
||
---|---|---|
.. | ||
8390.c | ||
8390.h | ||
8390p.c | ||
apne.c | ||
ax88796.c | ||
axnet_cs.c | ||
etherh.c | ||
hydra.c | ||
Kconfig | ||
lib8390.c | ||
mac8390.c | ||
Makefile | ||
mcf8390.c | ||
ne2k-pci.c | ||
ne.c | ||
pcnet_cs.c | ||
smc-ultra.c | ||
stnic.c | ||
wd.c | ||
xsurf100.c | ||
zorro8390.c |