X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fhp100.c;h=78ae4b2aca2c8541ec64add0da49802ba855abb7;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=a845c117194b489dcc72466d5bfded9297c44903;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index a845c1171..78ae4b2ac 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c @@ -386,6 +386,7 @@ static int __init hp100_isa_probe(struct net_device *dev, int addr) } +#ifndef MODULE struct net_device * __init hp100_probe(int unit) { struct net_device *dev = alloc_etherdev(sizeof(struct hp100_private)); @@ -420,6 +421,7 @@ struct net_device * __init hp100_probe(int unit) free_netdev(dev); return ERR_PTR(err); } +#endif static int __init hp100_probe1(struct net_device *dev, int ioaddr, u_char bus, struct pci_dev *pci_dev)