Skip to content

Commit

Permalink
phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sjoerd Simons authored and Kishon Vijay Abraham I committed Aug 28, 2014
1 parent 85601b8 commit 4cdcd14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/phy/phy-exynos5-usbdrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4cdcd14

Please sign in to comment.