Skip to content

Commit

Permalink
/drivers/net/arcnet/com20020.c replaced init_module&cleanup_module wi…
Browse files Browse the repository at this point in the history
…th module_init&module_exit

Replaced init_module and cleanup_module with static functions and module_init/module_exit.

Signed-off-by: Jon Schindler <jkschind@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jon Schindler authored and Jeff Garzik committed Mar 17, 2008
1 parent b32dac0 commit 0ebd1c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/net/arcnet/com20020.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,15 @@ MODULE_LICENSE("GPL");

#ifdef MODULE

int init_module(void)
static int __init com20020_module_init(void)
{
BUGLVL(D_NORMAL) printk(VERSION);
return 0;
}

void cleanup_module(void)
static void __exit com20020_module_exit(void)
{
}

module_init(com20020_module_init);
module_exit(com20020_module_exit);
#endif /* MODULE */

0 comments on commit 0ebd1c1

Please sign in to comment.