When you start writing device driver you will definitely look into this book. I will share some of Kernel functions, Macros, Variables and /proc files needed for Kernel Module building and running.
insmod
I will discuss a basic character driver, which can read last character and display. It is a simple driver one can develop much better driver based upon this..