Skip to content

Commit

Permalink
drivers/net/appletalk/ltpc.c: replace init_module&cleanup_module with…
Browse files Browse the repository at this point in the history
… 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jon Schindler authored and David S. Miller committed Mar 6, 2008
1 parent a4e2acf commit 32c9874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/appletalk/ltpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ module_param(irq, int, 0);
module_param(dma, int, 0);


int __init init_module(void)
static int __init ltpc_module_init(void)
{
if(io == 0)
printk(KERN_NOTICE
Expand All @@ -1263,6 +1263,7 @@ int __init init_module(void)
return PTR_ERR(dev_ltpc);
return 0;
}
module_init(ltpc_module_init);
#endif

static void __exit ltpc_cleanup(void)
Expand Down

0 comments on commit 32c9874

Please sign in to comment.