From: Sjoerd Simons Date: Mon, 25 Aug 2014 07:38:49 +0000 (+0200) Subject: phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4cdcd14dc93999e83eb32bbb6e900d3a7963fda8;p=deliverable%2Flinux.git 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 Signed-off-by: Kishon Vijay Abraham I --- diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c index b05302b09c9f..392101c8d6b0 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) {