diff options
author | Mark A. Greer <mgreer@mvista.com> | 2006-03-25 06:08:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:23:02 -0500 |
commit | a30ff2e348af9d3a1782103130c88960550a773f (patch) | |
tree | 0fbaf216c2a28c9c459adade7bcf517f8ab456fe /drivers/serial | |
parent | 37f1e984253c7eeee8e0f2be9d134d1e9e34b9d4 (diff) |
[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: Stephane Chazelas <Stephane@artesyncp.com>
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/mpsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mpsc.c b/drivers/serial/mpsc.c index 0ca83ac31d07..ba30e2363cc0 100644 --- a/drivers/serial/mpsc.c +++ b/drivers/serial/mpsc.c | |||
@@ -1165,7 +1165,7 @@ mpsc_startup(struct uart_port *port) | |||
1165 | flag = SA_SHIRQ; | 1165 | flag = SA_SHIRQ; |
1166 | 1166 | ||
1167 | if (request_irq(pi->port.irq, mpsc_sdma_intr, flag, | 1167 | if (request_irq(pi->port.irq, mpsc_sdma_intr, flag, |
1168 | "mpsc/sdma", pi)) | 1168 | "mpsc-sdma", pi)) |
1169 | printk(KERN_ERR "MPSC: Can't get SDMA IRQ %d\n", | 1169 | printk(KERN_ERR "MPSC: Can't get SDMA IRQ %d\n", |
1170 | pi->port.irq); | 1170 | pi->port.irq); |
1171 | 1171 | ||