OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08db7e5
)
phy: berlin-sata: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 18 Sep 2015 16:21:49 +0000
(18:21 +0200)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Fri, 25 Sep 2015 11:31:14 +0000
(17:01 +0530)
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: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-berlin-sata.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-berlin-sata.c
b/drivers/phy/phy-berlin-sata.c
index
0062027
..
77a2e05
100644
(file)
--- a/
drivers/phy/phy-berlin-sata.c
+++ b/
drivers/phy/phy-berlin-sata.c
@@
-276,6
+276,7
@@
static const struct of_device_id phy_berlin_sata_of_match[] = {
{ .compatible = "marvell,berlin2q-sata-phy" },
{ },
};
+MODULE_DEVICE_TABLE(of, phy_berlin_sata_of_match);
static struct platform_driver phy_berlin_sata_driver = {
.probe = phy_berlin_sata_probe,