MODULE_ALIAS - Explain with this example?

Rajat Jain <[email protected]>
Newsgroups gmane.linux.newbie,gmane.linux.kernel.kernelnewbies
Message-ID <648775f823934f898fc705e660f05820@DM2PR05MB671.namprd05.prod.outlook.com>
Hi,

Can some one please help me understand what does the use of MODULE_ALIAS() achieve?

In the simple char driver "drivers/char/hw_random/omap-rng.c", I see the following in addition to the regular stuff.

/* work with hotplug and coldplug */
MODULE_ALIAS("platform:omap_rng");

Can some one tell me what is the above indicating?

Thanks,

Rajat

--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.