How to write a SPI driver ?
I'm working on uClinux, and I want to add my proper SPI driver (for my own board) in the kernel. I know that my board will always be in master mode and I want my driver to start with the boot and never stop (I need to statically register,I think , no ?). But I don't understand how to do it.
Can you give some information about the driver writing for linux ? Can you give me a frame to follow or a driver skeleton ?
Sorry for my english, I'm french.
Thanks in advance.