drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Thu, 10 Jul 2014 06:25:01 +0000 (11:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 01:23:49 +0000 (18:23 -0700)
Allow phy-exynos-usb2 to be autoloaded based on devicetree information.
Tested on Odroid X2 with its USB subsystem build as modules.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/phy-samsung-usb2.c

index 8a8c6bc8709abaddf17a5bb4a5d58cbe8647f17f..1e69a32c221dc5e3376796d4f78edcb1f8be609f 100644 (file)
@@ -107,6 +107,7 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = {
 #endif
        { },
 };
+MODULE_DEVICE_TABLE(of, samsung_usb2_phy_of_match);
 
 static int samsung_usb2_phy_probe(struct platform_device *pdev)
 {