Commit 4dffa710 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

usb: musb: add MODULE_ALIAS for udev module loading

platform drivers should add MODULE_ALIAS for allowing
udev module loading.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 046bde9e
...@@ -134,11 +134,13 @@ MODULE_PARM_DESC(debug, "initial debug message level"); ...@@ -134,11 +134,13 @@ MODULE_PARM_DESC(debug, "initial debug message level");
#define DRIVER_INFO DRIVER_DESC ", v" MUSB_VERSION #define DRIVER_INFO DRIVER_DESC ", v" MUSB_VERSION
const char musb_driver_name[] = "musb_hdrc"; #define MUSB_DRIVER_NAME "musb_hdrc"
const char musb_driver_name[] = MUSB_DRIVER_NAME;
MODULE_DESCRIPTION(DRIVER_INFO); MODULE_DESCRIPTION(DRIVER_INFO);
MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" MUSB_DRIVER_NAME);
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment