diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2012-11-14 18:49:50 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-02-06 04:33:19 +0000 |
commit | 9d38cd591c7e22932c7bb8e138231c87108c7aec (patch) | |
tree | 2e5249de632bb1cd1ea299184a470945b5cb4b3c | |
parent | 7cce8398c923ff7e16e992ca751dd0c32b92c22a (diff) | |
download | lwn-9d38cd591c7e22932c7bb8e138231c87108c7aec.tar.gz lwn-9d38cd591c7e22932c7bb8e138231c87108c7aec.zip |
usb: musb: core: print new line in the driver banner again
commit 2ac788f705e5118dd45204e7a5bc8d5bb6873835 upstream.
Commit 5c8a86e10a7c164f44537fabdc169fd8b4e7a440 (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: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | drivers/usb/musb/musb_core.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 920f04e5f3a8..641caf89f19d 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2372,10 +2372,7 @@ static int __init musb_init(void) if (usb_disabled()) return 0; - pr_info("%s: version " MUSB_VERSION ", " - "?dma?" - ", " - "otg (peripheral+host)", + pr_info("%s: version " MUSB_VERSION ", ?dma?, otg (peripheral+host)\n", musb_driver_name); return platform_driver_probe(&musb_driver, musb_probe); } |