<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 11, 2013 at 12:44 PM, Rajat Jain <span dir="ltr"><<a href="mailto:rajatjain@juniper.net" target="_blank">rajatjain@juniper.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Yes, I read that. It is a 10 yr old article, and was wondering how much valid it is today.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">However, I still do not understand in the context of this example of a platform driver.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div style="border-style:none none none solid;border-left-color:blue;border-left-width:1.5pt;padding:0in 0in 0in 4pt">
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> Sudip Mukherjee [mailto:<a href="mailto:sudipm.mukherjee@gmail.com" target="_blank">sudipm.mukherjee@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, December 10, 2013 11:04 PM<br>
<b>To:</b> Rajat Jain<br>
<b>Subject:</b> Re: MODULE_ALIAS - Explain with this example?<u></u><u></u></span></p>
</div>
</div><div class="im">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Dec 11, 2013 at 11:12 AM, Rajat Jain <<a href="mailto:rajatjain@juniper.net" target="_blank">rajatjain@juniper.net</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
<br>
Can some one please help me understand what does the use of MODULE_ALIAS() achieve?<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lwn.net/Articles/47412/" target="_blank">http://lwn.net/Articles/47412/</a> </p></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>I think it is still valid.</div>
<div> If you see <a href="http://lxr.free-electrons.com/source/include/linux/module.h#L99" style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:14px;text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);color:rgb(10,10,10)">include/linux/module.h</a> , you will see it is just another name of MODULE_INFO . But again in <a href="http://lxr.free-electrons.com/source/include/linux/module.h#L99" style="color:rgb(10,10,10);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:14px;text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153)">include/linux/device.h</a> , see the definition of MODULE_ALIAS_CHARDEV . </div>
<div>Also see <a href="https://groups.google.com/forum/#!msg/fa.linux.kernel/Uwlu-lqrrg8/WlI2l-GeJUkJ">https://groups.google.com/forum/#!msg/fa.linux.kernel/Uwlu-lqrrg8/WlI2l-GeJUkJ</a> </div><div><br></div></div></div></div>