MODULE_ALIAS - Explain with this example?

From: Rajat Jain <hidden>
Date: 2013-12-11 05:42:47

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help