Kernel Module Programming
I am trying to compile a module for 2.6.12 kernel and I have reached at a dead-end:
Let's say my module is my_module.c.
I have included it in /usr/src/linux/drivers/my_module/my_module.c
and successfully edited Kconfig and Makefile.
When I type make menuconfig, my module, appears correctly on "Graphics Drivers" Menu, and I select it as in-built (*).
Afterwards, I type make, and the compilation process starts.
My module, compiles smoothly, without any error and the image is ready.
The problem is that when I boot the new kernel, my module IS NOT loaded, as it should be, and I can load it only with modprobe or insmod.
dmessg does not have any error message or initialization message for my module.
What does go wrong?
Thanks in advance !