Re: [PATCH 3/11] /drivers/char/ip2/ip2main.c replacedinit_module&cleanup_module with module_init&module_exit

From: Harvey Harrison
Date: Wed Mar 05 2008 - 01:29:04 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/