summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-07-10 08:25:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 03:23:49 +0200
commitbf5baf954a8249ad565862faa98accb19f3ab957 (patch)
tree942c8eb9f630701f201f6795223de3cbdb2676eb /drivers/phy
parentphy: omap-usb2: fix devm_ioremap_resource error detection code (diff)
downloadlinux-bf5baf954a8249ad565862faa98accb19f3ab957.tar.xz
linux-bf5baf954a8249ad565862faa98accb19f3ab957.zip
drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-samsung-usb2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-samsung-usb2.c b/drivers/phy/phy-samsung-usb2.c
index 8a8c6bc8709a..1e69a32c221d 100644
--- a/drivers/phy/phy-samsung-usb2.c
+++ b/drivers/phy/phy-samsung-usb2.c
@@ -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)
{