Problem in compiling a kernel module

Domen Puncer domen.puncer at telargo.com
Wed Mar 14 17:54:11 EST 2007


On 14/03/07 05:33 +0100, Matthias Fechner wrote:
> Hello Ben,
> 
> * Ben Warren <bwarren at qstreams.com> [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



More information about the Linuxppc-embedded mailing list