Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87227
b: refs/heads/master
c: 3cfbb67
h: refs/heads/master
i:
  87225: cf3d336
  87223: 439d428
v: v3
  • Loading branch information
Jon Schindler authored and David S. Miller committed Mar 6, 2008
1 parent 237cefb commit fd65835
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: 7249d4c3985454ee5cd150198bb21cb15dee242e
refs/heads/master: 3cfbb6771b11c161aaee0cc839f923fc208868b8
7 changes: 4 additions & 3 deletions trunk/drivers/net/apne.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,15 +569,15 @@ static irqreturn_t apne_interrupt(int irq, void *dev_id)
#ifdef MODULE
static struct net_device *apne_dev;

int __init init_module(void)
static int __init apne_module_init(void)
{
apne_dev = apne_probe(-1);
if (IS_ERR(apne_dev))
return PTR_ERR(apne_dev);
return 0;
}

void __exit cleanup_module(void)
static void __exit apne_module_exit(void)
{
unregister_netdev(apne_dev);

Expand All @@ -591,7 +591,8 @@ void __exit cleanup_module(void)

free_netdev(apne_dev);
}

module_init(apne_module_init);
module_exit(apne_module_exit);
#endif

static int init_pcmcia(void)
Expand Down

0 comments on commit fd65835

Please sign in to comment.