<div dir="ltr"><div><div>Hi,<br><br>On Tue, Feb 5, 2013 at 8:50 PM, Ranganath T.M <<a href="mailto:ranganathtm88@gmail.com">ranganathtm88@gmail.com</a>> wrote:<br>><br>> Hi Peter,<br>><br>> Thanks for your information,<br>
><br>> And can you kindly suggest me,<br>> 1)How the probe will be called by comparing the name in driver and name given in board-files, or it will called based id_table which we fill for particular bus of that driver.<br>
<br></div>When both a device and a driver have been registered, then the probe routine will be called.<br><br></div>Normally, the devices are registered in your board files.<br><div><div><br>> 2)How the priority will be followed to call the drivers files like BT first and then HDMI driver.<br>
<br></div><div>The order is determined by how they're registered (i.e. which initcall is used:<br><a href="http://lxr.linux.no/#linux+v3.7.6/include/linux/init.h#L209">http://lxr.linux.no/#linux+v3.7.6/include/linux/init.h#L209</a><br>
<br></div><div>module_init maps to device_initcall<br><br></div><div>Within the same level, the order is determined by the order that the files appear in the Makefiles.<br></div><div><br>--<br>Dave Hylands<br>Shuswap, BC, Canada<br>
<a href="http://www.davehylands.com">http://www.davehylands.com</a></div></div></div>