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:
2f90a30
)
net: phy: mdio-gpio: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 18 Sep 2015 16:16:29 +0000
(18:16 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Sep 2015 23:11:20 +0000
(16:11 -0700)
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: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/mdio-gpio.c
b/drivers/net/phy/mdio-gpio.c
index 7dc21e56a7aa805c42f1a1624a704d807efa08f5..3bc9f03349f3a47d1c724cb50bd05e345f025f3e 100644
(file)
--- a/
drivers/net/phy/mdio-gpio.c
+++ b/
drivers/net/phy/mdio-gpio.c
@@
-261,6
+261,7
@@
static const struct of_device_id mdio_gpio_of_match[] = {
{ .compatible = "virtual,mdio-gpio", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, mdio_gpio_of_match);
static struct platform_driver mdio_gpio_driver = {
.probe = mdio_gpio_probe,