Commit 2ac788f7 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Felipe Balbi

usb: musb: core: print new line in the driver banner again

Commit 5c8a86e1 (usb: musb: drop unneeded
musb_debug trickery) erroneously removed '\n' from the driver's banner.
Concatenate all the banner substrings while adding it back...
Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: stable@vger.kernel.org # 3.0+
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 484ca3a3
...@@ -2298,10 +2298,7 @@ static int __init musb_init(void) ...@@ -2298,10 +2298,7 @@ static int __init musb_init(void)
if (usb_disabled()) if (usb_disabled())
return 0; return 0;
pr_info("%s: version " MUSB_VERSION ", " pr_info("%s: version " MUSB_VERSION ", ?dma?, otg (peripheral+host)\n",
"?dma?"
", "
"otg (peripheral+host)",
musb_driver_name); musb_driver_name);
return platform_driver_register(&musb_driver); return platform_driver_register(&musb_driver);
} }
......
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