Browse Source

usb: musb: ux500: Fix module autoload for OF platform driver

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>
Luis de Bethencourt 10 years ago
parent
commit
523d5daf86
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/usb/musb/ux500.c

+ 2 - 0
drivers/usb/musb/ux500.c

@@ -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,