Skip to content

Commit

Permalink
usb: musb: ux500: Fix module autoload for OF platform driver
Browse files Browse the repository at this point in the history
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luis@debethencourt.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Luis de Bethencourt authored and Felipe Balbi committed Sep 14, 2015
1 parent 6fc6f4b commit 523d5da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/musb/ux500.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ static const struct of_device_id ux500_match[] = {
{}
};

MODULE_DEVICE_TABLE(of, ux500_match);

static struct platform_driver ux500_driver = {
.probe = ux500_probe,
.remove = ux500_remove,
Expand Down

0 comments on commit 523d5da

Please sign in to comment.