diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 18:21:49 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-09-25 17:01:14 +0530 |
commit | f9fef6181a9590261c296be9e2a19b6aa3c13ba7 (patch) | |
tree | 6f09183fb856fef40bdc67d542e957f3945d63a6 /drivers/phy | |
parent | 08db7e5cbfc0ec3fa4f6ed483dc663afeae7ce16 (diff) | |
download | op-kernel-dev-f9fef6181a9590261c296be9e2a19b6aa3c13ba7.zip op-kernel-dev-f9fef6181a9590261c296be9e2a19b6aa3c13ba7.tar.gz |
phy: berlin-sata: 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: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-berlin-sata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-berlin-sata.c b/drivers/phy/phy-berlin-sata.c index 0062027..77a2e05 100644 --- 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, |