diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2014-08-25 09:38:49 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-08-28 11:17:43 +0530 |
commit | 4cdcd14dc93999e83eb32bbb6e900d3a7963fda8 (patch) | |
tree | 6f5074c96c4ca22345ff4435ca5ad2fdc1fec264 /drivers/phy | |
parent | 85601b8d81e24ce9ae2d31e93f35468ab7616b18 (diff) | |
download | op-kernel-dev-4cdcd14dc93999e83eb32bbb6e900d3a7963fda8.zip op-kernel-dev-4cdcd14dc93999e83eb32bbb6e900d3a7963fda8.tar.gz |
phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry
Add a MODULE_DEVICE_TABLE call for OF match tables. This allows the
module to be autoloaded based on devicetree information.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-exynos5-usbdrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c index b05302b..392101c 100644 --- a/drivers/phy/phy-exynos5-usbdrd.c +++ b/drivers/phy/phy-exynos5-usbdrd.c @@ -542,6 +542,7 @@ static const struct of_device_id exynos5_usbdrd_phy_of_match[] = { }, { }, }; +MODULE_DEVICE_TABLE(of, exynos5_usbdrd_phy_of_match); static int exynos5_usbdrd_phy_probe(struct platform_device *pdev) { |