phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 25 Aug 2014 07:38:49 +0000 (09:38 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 28 Aug 2014 05:47:43 +0000 (11:17 +0530)
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>
drivers/phy/phy-exynos5-usbdrd.c

index b05302b09c9fd0f0bdca202f1b52f1e51b94e0f1..392101c8d6b04aad1f9cc25119c65cac0ff73471 100644 (file)
@@ -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)
 {