Commit 7f8bea7f75618165d015f083c77f1db3e4584f88

Authored by Jan Luebbe
Committed by Chris Ball
1 parent cd03d9a858

mmc: davinci_mmc: set MODULE_ALIAS to allow autoloading

Davinci MMC platform devices (as in mach-davinci/devices-da8xx.c) use
"davinci_mmc" as their name. To allow autoloading of the relevant
driver, the module needs to set the MODULE_ALIAS.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/mmc/host/davinci_mmc.c
... ... @@ -1533,4 +1533,5 @@
1533 1533 MODULE_AUTHOR("Texas Instruments India");
1534 1534 MODULE_LICENSE("GPL");
1535 1535 MODULE_DESCRIPTION("MMC/SD driver for Davinci MMC controller");
  1536 +MODULE_ALIAS("platform:davinci_mmc");