From: Luis de Bethencourt Date: Thu, 17 Sep 2015 21:49:59 +0000 (+0200) Subject: mmc: moxart: Fix module autoload for OF platform driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=774523539fff7bf34499b7b088dc8b2c0b4a04bc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc: moxart: Fix module autoload for OF platform driver This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c index 006f1862444b..79905ce895ad 100644 --- a/drivers/mmc/host/moxart-mmc.c +++ b/drivers/mmc/host/moxart-mmc.c @@ -711,6 +711,7 @@ static const struct of_device_id moxart_mmc_match[] = { { .compatible = "faraday,ftsdc010" }, { } }; +MODULE_DEVICE_TABLE(of, moxart_mmc_match); static struct platform_driver moxart_mmc_driver = { .probe = moxart_probe,