Commit 0d9e3bdd authored by Jeff Garzik's avatar Jeff Garzik Committed by Stephen Hemminger

[netdrvr 3c515] fix non-modular build

parent f589a15c
...@@ -605,7 +605,9 @@ static void corkscrew_setup(struct net_device *dev, int ioaddr, ...@@ -605,7 +605,9 @@ static void corkscrew_setup(struct net_device *dev, int ioaddr,
vp->full_duplex = 0; vp->full_duplex = 0;
vp->bus_master = 0; vp->bus_master = 0;
} }
#ifdef MODULE
list_add(&vp->list, &root_corkscrew_dev); list_add(&vp->list, &root_corkscrew_dev);
#endif
printk(KERN_INFO "%s: 3Com %s at %#3x,", dev->name, vp->product_name, ioaddr); printk(KERN_INFO "%s: 3Com %s at %#3x,", dev->name, vp->product_name, ioaddr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment