Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/net/appletalk/ltpc.c: replace init_module&cleanup_module with 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>

authored by

Jon Schindler and committed by
David S. Miller
32c98747 a4e2acf0

+2 -1
+2 -1
drivers/net/appletalk/ltpc.c
··· 1252 1252 module_param(dma, int, 0); 1253 1253 1254 1254 1255 - int __init init_module(void) 1255 + static int __init ltpc_module_init(void) 1256 1256 { 1257 1257 if(io == 0) 1258 1258 printk(KERN_NOTICE ··· 1263 1263 return PTR_ERR(dev_ltpc); 1264 1264 return 0; 1265 1265 } 1266 + module_init(ltpc_module_init); 1266 1267 #endif 1267 1268 1268 1269 static void __exit ltpc_cleanup(void)