Subject: Re: Problem in compiling a kernel module

From: Domen Puncer <[email-masked]>
Date: Wed, 14 Mar 2007 07:54:11 +0100

On 14/03/07 05:33 +0100, Matthias Fechner wrote:
> Hello Ben,
> 
> * Ben Warren <[email-masked]> [13-03-07 05:55]:
> > Is there any chance that you qualify private data as
> > __init within the driver?  Can you post the cleanup()
> > function and any private (static) functions that it
> > calls?
> 
> no problem, I attached the file. It is bery basic from now and it is
> not written very well, but it should have all necessary parts in it.
> 
> PS: It's not necessary to CC me I'm on the list :)
> 

...
> static int __initdata max6633_initialized = 0;

__initdata

> 
> void max6633_cleanup(void)
> {
>    int res;
>    if(max6633_initialized==1)

But you access it from non-init code.

	Domen