(35/42) mvme147
Subsystems (2)
PATCH 1/1 (35/42) mvme147
NE60-mvme147lance
* switched to dynamic allocation
* fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -83,7 +83,7 @@extern struct net_device *cs89x0_probe (int unit);extern int hplance_probe (struct net_device *dev);extern struct net_device *bagetlance_probe (int unit); -extern int mvme147lance_probe (struct net_device *dev); +extern struct net_device *mvme147lance_probe (int unit);extern struct net_device *tc515_probe (int unit);extern struct net_device *lance_probe (int unit);extern struct net_device *mace_probe (struct net_device *dev);
@@ -317,13 +317,13 @@ #ifdef CONFIG_HPLANCE /* HP300 internal Ethernet */ {hplance_probe, 0}, #endif -#ifdef CONFIG_MVME147_NET /* MVME147 internal Ethernet */ - {mvme147lance_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 m68k_probes2[] __initdata = { +#ifdef CONFIG_MVME147_NET /* MVME147 internal Ethernet */ + {mvme147lance_probe, 0}, +#endif #ifdef CONFIG_MACMACE /* Mac 68k Quadra AV builtin Ethernet */ {mace_probe, 0}, #endif
drivers/net/mvme147.c +28 -31
108 lines not on this page · raw message