On Wed, Dec 11, 2013 at 12:44 PM, Rajat Jain <rajatjain@xxxxxxxxxxx> 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:sudipm.mukherjee@xxxxxxxxx]
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 <rajatjain@xxxxxxxxxxx> wrote:
Can some one please help me understand what does the use of MODULE_ALIAS() achieve?
I think it is still valid.
If you see include/linux/module.h , you will see it is just another name of MODULE_INFO . But again in include/linux/device.h , see the definition of MODULE_ALIAS_CHARDEV .
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies