Skip to content

Commit

Permalink
/drivers/net/8390.c replaced init_module&cleanup_module with module_i…
Browse files Browse the repository at this point in the history
…nit&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 5687216 commit 08dc732
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/net/8390.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ EXPORT_SYMBOL(__alloc_ei_netdev);

#if defined(MODULE)

int init_module(void)
static int __init ns8390_module_init(void)
{
return 0;
}

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

module_init(ns8390_init_module);
module_exit(ns8390_module_exit);
#endif /* MODULE */
MODULE_LICENSE("GPL");

0 comments on commit 08dc732

Please sign in to comment.