Thread (13 messages) flat view 13 messages, 8 authors, 2007-08-08

Re: Problem in compiling a kernel module

From: Domen Puncer <hidden>
Date: 2007-03-14 06:54:16

On 14/03/07 05:33 +0100, Matthias Fechner wrote:
Hello Ben,

* Ben Warren [off-list ref] [13-03-07 05:55]:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help