Discussion:
MODULE_ALIAS - Explain with this example?
Rajat Jain
2013-12-11 05:42:47 UTC
Permalink
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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Loading...