Explorar o código

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>
Sjoerd Simons %!s(int64=11) %!d(string=hai) anos
pai
achega
4cdcd14dc9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/phy/phy-exynos5-usbdrd.c

+ 1 - 0
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)
 {