Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90239
b: refs/heads/master
c: 53e7c46
h: refs/heads/master
i:
  90237: 8f7e239
  90235: 2454f1d
  90231: 796e315
  90223: cf4c4d1
  90207: 4e8c7c0
  90175: d4d0d48
  90111: db57e95
v: v3
  • Loading branch information
Jon Schindler authored and Jeff Garzik committed Mar 17, 2008
1 parent 5d8e86d commit 7dbee9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5250f33229c1e41b1fac27bb564697046e525b93
refs/heads/master: 53e7c46b0680ccc3ac67a2b8cd7f050569836e44
7 changes: 4 additions & 3 deletions trunk/drivers/net/atarilance.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,21 +1155,22 @@ static int lance_set_mac_address( struct net_device *dev, void *addr )
#ifdef MODULE
static struct net_device *atarilance_dev;

int __init init_module(void)
static int __init atarilance_module_init(void)
{
atarilance_dev = atarilance_probe(-1);
if (IS_ERR(atarilance_dev))
return PTR_ERR(atarilance_dev);
return 0;
}

void __exit cleanup_module(void)
static void __exit atarilance_module_exit(void)
{
unregister_netdev(atarilance_dev);
free_irq(atarilance_dev->irq, atarilance_dev);
free_netdev(atarilance_dev);
}

module_init(atarilance_module_init);
module_exit(atarilance_module_exit);
#endif /* MODULE */


Expand Down

0 comments on commit 7dbee9e

Please sign in to comment.