Javier Martinez Canillas 9cb02eefec mmc: mediatek: Fix module autoload
If the driver is built as a module, autoload won't work because the module
alias information is not filled. So user-space can't match the registered
device with the corresponding module.

Export the module alias information using the MODULE_DEVICE_TABLE() macro.

Before this patch:

$ modinfo drivers/mmc/host/mtk-sd.ko | grep alias
$

After this patch:

$ modinfo drivers/mmc/host/mtk-sd.ko | grep alias
alias:          of:N*T*Cmediatek,mt8135-mmcC*
alias:          of:N*T*Cmediatek,mt8135-mmc

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-11-29 09:00:29 +01:00
..
2016-11-29 09:00:29 +01:00
2016-07-18 11:50:40 +02:00
2014-09-24 10:13:09 +02:00
2016-09-26 21:31:33 +02:00
2015-06-01 09:06:48 +02:00
2016-09-26 21:31:33 +02:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00