* [PATCH 5/9] /drivers/net/appletalk/ltpc.c replaced init_module&cleanup_module with module_init&module_exit
@ 2008-02-28 7:31 Jon Schindler
0 siblings, 0 replies; only message in thread
From: Jon Schindler @ 2008-02-28 7:31 UTC (permalink / raw)
To: linux-kernel, trivial, kernel-janitors
Replaced init_module and cleanup_module with static functions and module_init/module_exit.
Signed-off-by: Jon Schindler <jkschind@gmail.com>
---
diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c
index 6ab2c2d..fef5560 100644
--- a/drivers/net/appletalk/ltpc.c
+++ b/drivers/net/appletalk/ltpc.c
@@ -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
@@ -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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-28 7:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 7:31 [PATCH 5/9] /drivers/net/appletalk/ltpc.c replaced init_module&cleanup_module with module_init&module_exit Jon Schindler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox