Messages in this thread |  | | | Subject | Re: [PATCH 3/11] /drivers/char/ip2/ip2main.c replaced init_module&cleanup_module with module_init&module_exit | | From | Harvey Harrison <> | | Date | Tue, 04 Mar 2008 22:28:18 -0800 | |
On Tue, 2008-03-04 at 23:49 -0600, Jon Schindler wrote:
> Replaced init_module and cleanup_module with static functions and module_init/module_exit.
>
trivial comments
> #ifdef MODULE
> -int
> -init_module(void)
> +static int __init
> +ip2_init_module(void)
> {
+static int __init ip2_init_module(void)
> ****************************************************************/
> #ifdef MODULE
> -void
> -cleanup_module(void)
> +void __exit
> +ip2_cleanup_module(void)
> {
+void __exit ip2_cleanup_module(void)
Cheers,
Harvey
|  |