(36/42) hplance
Subsystems (2)
PATCH 1/1 (36/42) hplance
NE61-hplance
* switched to dynamic allocation
* fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -81,7 +81,7 @@extern int bionet_probe (struct net_device *);extern int pamsnet_probe (struct net_device *);extern struct net_device *cs89x0_probe (int unit); -extern int hplance_probe (struct net_device *dev); +extern struct net_device *hplance_probe (int unit);extern struct net_device *bagetlance_probe (int unit);extern struct net_device *mvme147lance_probe (int unit);extern struct net_device *tc515_probe (int unit);
@@ -315,13 +315,13 @@ #ifdef CONFIG_ATARI_PAMSNET /* Atari PAMsNet Ethernet board */ {pamsnet_probe, 0}, #endif -#ifdef CONFIG_HPLANCE /* HP300 internal Ethernet */ - {hplance_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 m68k_probes2[] __initdata = { +#ifdef CONFIG_HPLANCE /* HP300 internal Ethernet */ + {hplance_probe, 0}, +#endif #ifdef CONFIG_MVME147_NET /* MVME147 internal Ethernet */ {mvme147lance_probe, 0}, #endif
drivers/net/hplance.c +40 -45
138 lines not on this page · raw message