projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02b9d7
)
mmc: moxart: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 17 Sep 2015 21:49:59 +0000
(23:49 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 26 Oct 2015 14:59:57 +0000
(15:59 +0100)
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>
drivers/mmc/host/moxart-mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/moxart-mmc.c
b/drivers/mmc/host/moxart-mmc.c
index 006f1862444b245a8c7564c60cff9a915e13d127..79905ce895adaeffc6f8e07689af768398b272c1 100644
(file)
--- 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,