Commit a30ff2e3 authored by Mark A. Greer's avatar Mark A. Greer Committed by Linus Torvalds

[PATCH] serial: mpsc driver passes bad devname to request_irq()

The devname passed to request_irq() contained a '/' which is wrong.  At
a minimum, the '/' prevented the devname from showing up in
/proc/irq/<irq>/<devname>.  This patch replaces the '/' with a '-' to
fixes that problem.
Reported-by: default avatarStephane Chazelas <Stephane@artesyncp.com>
Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 37f1e984
...@@ -1165,7 +1165,7 @@ mpsc_startup(struct uart_port *port) ...@@ -1165,7 +1165,7 @@ mpsc_startup(struct uart_port *port)
flag = SA_SHIRQ; flag = SA_SHIRQ;
if (request_irq(pi->port.irq, mpsc_sdma_intr, flag, if (request_irq(pi->port.irq, mpsc_sdma_intr, flag,
"mpsc/sdma", pi)) "mpsc-sdma", pi))
printk(KERN_ERR "MPSC: Can't get SDMA IRQ %d\n", printk(KERN_ERR "MPSC: Can't get SDMA IRQ %d\n",
pi->port.irq); pi->port.irq);
......
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