>>I am looking into platform driver and devices and understood HOW platform driver's probe is called from kernel doc and >>following forum. >>>>http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 <http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050>
I would ask *what* is platform device driver ? and what is the *difference* between a platform device driver and a normal device driver ? The answer here explains it extremely well : http://stackoverflow.com/questions/15610570/what-is-the-difference-between-platform-driver-and-normal-device-driver >>For further information I went through code in platform_driver_register() and got lost. I looked web but could not find >>substantiation information. This will help: http://code.woboq.org/linux/linux/drivers/base/platform.c.html#platform_driver_probe >>I am still not able to locate from WHERE this probe function is called and WHO calls it? >>Can someone please point to source code or some other document related to this? Review this article carefully: https://coherentmusings.wordpress.com/2013/12/13/how-to-write-a-platform-devicedriver-adc-driver-using-wm97xx-codec/ Have fun :) Aruna On Fri, Nov 21, 2014 at 8:16 AM, Sunil Shahu <sunil.roc...@yahoo.in> wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further information I went through code in platform_driver_register() > and got lost. I looked web but could not find substantiation information. > > I am still not able to locate from WHERE this probe function is called and > WHO calls it? > Can someone please point to source code or some other document related to > this? > > Thanks, > Sunil. > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > >
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies