On Wed, Dec 11, 2013 at 12:44 PM, Rajat Jain <[email protected]> wrote:
> Yes, I read that. It is a 10 yr old article, and was wondering how much > valid it is today. > > > > However, I still do not understand in the context of this example of a > platform driver. > > > > *From:* Sudip Mukherjee [mailto:[email protected]] > *Sent:* Tuesday, December 10, 2013 11:04 PM > *To:* Rajat Jain > *Subject:* Re: MODULE_ALIAS - Explain with this example? > > > > > > On Wed, Dec 11, 2013 at 11:12 AM, Rajat Jain <[email protected]> > wrote: > > > > Can some one please help me understand what does the use of MODULE_ALIAS() > achieve? > > > > http://lwn.net/Articles/47412/ > I think it is still valid. If you see include/linux/module.h<http://lxr.free-electrons.com/source/include/linux/module.h#L99> , you will see it is just another name of MODULE_INFO . But again in include/linux/device.h<http://lxr.free-electrons.com/source/include/linux/module.h#L99> , see the definition of MODULE_ALIAS_CHARDEV . Also see https://groups.google.com/forum/#!msg/fa.linux.kernel/Uwlu-lqrrg8/WlI2l-GeJUkJ
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
