Newbie: added function not visible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm desperate, please help, if I'm missing something obvious.

I am trying to add a function to the file drivers/char/keyboard.c
and then be able to call this function from my kernel module

adding the function to keyboard.c, recompiling and booting with kernel
results  /proc/kallsyms telling me that my function exists with the tag 'T',
which I think is ok

In my module I simply declare the function's prototype and use it.

When trying to compile the module, modpost tells that the function's symbol
is not found. (insmodding results in error too)

I don't get it, WHY tha heck can it find all the other stuff and 
what makes this new function different? I have read that 2.6 kernel exports
any non-static symbols.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux