diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 23:49:59 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-10-26 15:59:57 +0100 |
commit | 774523539fff7bf34499b7b088dc8b2c0b4a04bc (patch) | |
tree | 01ceaa8251d13306f45975e4c1cd32c6e3cb2620 | |
parent | e02b9d7cbfe1536aef9e7ba7751993d7eca6e829 (diff) | |
download | op-kernel-dev-774523539fff7bf34499b7b088dc8b2c0b4a04bc.zip op-kernel-dev-774523539fff7bf34499b7b088dc8b2c0b4a04bc.tar.gz |
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 <luisbg@osg.samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/moxart-mmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c index 006f186..79905ce 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, |