adding device driver into the kernel

vijay
Hi guys,

I am new to the linux, I wrote the separate led driver and when i tried to
compile it, it was showing lot of errors so anyone can provide me the
source code for led device driver with makefile.

i wants to know how can i insert the driver into the kernel but i tried
inserting the driver using insmod showing error.

Juergen Beisert
Hi Vijay,

google for "out of tree build". Or read the in-kernel documentation in
"Documentation/kbuild/modules.txt"