from WHERE platform driver's probe is called?

Sudip Mukherjee sudipm.mukherjee at gmail.com
Fri Nov 21 08:42:14 EST 2014


On Fri, Nov 21, 2014 at 6:46 PM, Sunil Shahu <sunil.rockon at 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?

i am also not exactly sure, but i think the individual drivers probe
function is called from platform_drv_probe() of platform.c

thanks
sudip

>
> Thanks,
> Sunil.
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



More information about the Kernelnewbies mailing list