Re: MODULE_ALIAS - Explain with this example?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 . 
Also see https://groups.google.com/forum/#!msg/fa.linux.kernel/Uwlu-lqrrg8/WlI2l-GeJUkJ 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux