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:
7745235
)
mmc: omap: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<
[email protected]
>
Thu, 17 Sep 2015 21:50:25 +0000
(23:50 +0200)
committer
Ulf Hansson
<
[email protected]
>
Mon, 26 Oct 2015 14:59:58 +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 <
[email protected]
>
Acked-by: Tony Lindgren <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/omap.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/omap.c
b/drivers/mmc/host/omap.c
index b763b11ed9e1e72320a2d8e4a8d9e393b229766e..b9958a123594a6fa9d0b0075a61a92b1e0f7916b 100644
(file)
--- a/
drivers/mmc/host/omap.c
+++ b/
drivers/mmc/host/omap.c
@@
-1490,6
+1490,7
@@
static const struct of_device_id mmc_omap_match[] = {
{ .compatible = "ti,omap2420-mmc", },
{ },
};
+MODULE_DEVICE_TABLE(of, mmc_omap_match);
#endif
static struct platform_driver mmc_omap_driver = {