Kernel Module with multiple source files not initializing

Bernd Petrovitsch bernd at petrovitsch.priv.at
Mon Oct 28 06:04:36 EDT 2019


On 28/10/2019 10:43, Irfan Ullah (울라 이르판) wrote:
> Thanks for the help. I have removed the "static" from the hello_init,
> hello_exti but nothing worked. I am not sure, but I think the problem is
> with the make file.

OK, when I add "static" to my driver, it works too. Sry for the confusion.

I have also __init with the init function and __exit with the
exit function.

MfG,
	Bernd
-- 
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
    - Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2472 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20191028/06f9d387/attachment.bin>


More information about the Kernelnewbies mailing list