I am trying to see how a spi driver is registered as character device. In
linux kernel 2.6.25, in drivers\spi\atmel_spi.c, in the probe function I could
not find spi_register_driver(). I would also like to know the code flow for how
spi driver registers itself as character device.
Reply by vishnu Tadepalli●November 20, 20122012-11-20
Hi Ravi,
See the file drivers/spi/spidev.c
Atmel_spi.c is a platform driver and not a spi client driver.
Regards,
TVRPrasad
Technical Lead,
KPIT >
> **
> Hi all,
> I am trying to see how a spi driver is registered as character device. In
> linux kernel 2.6.25, in drivers\spi\atmel_spi.c, in the probe function I
> could not find spi_register_driver(). I would also like to know the code
> flow for how spi driver registers itself as character device.
>
> Thanks & Regards,
> Ravi Gupta
> ------------------------------
> Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
> Join Linux Discussions! --> http://Community.LinuxWaves.com
>
>