lkml.org 
[lkml]   [2008]   [Mar]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/11] /drivers/char/ip2/ip2main.c replaced init_module&cleanup_module with module_init&module_exit
FromHarvey Harrison <>
DateTue, 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



\
 
 \ /
  Last update: 2008-03-05 07:31    [from the cache]
©2003-2008