summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/serial.c
diff options
context:
space:
mode:
authorNathan Hintz2013-01-10 17:54:09 +0100
committerJohn W. Linville2013-01-11 20:49:59 +0100
commite2aa19fadd718d7dd920a3994118863861a4b61e (patch)
treedcef21d36c4ed2ab7cb02ecf9ca7585ebc3993ed /arch/mips/bcm47xx/serial.c
parentbcma: fix compile error (diff)
downloadkernel-qcow2-linux-e2aa19fadd718d7dd920a3994118863861a4b61e.tar.gz
kernel-qcow2-linux-e2aa19fadd718d7dd920a3994118863861a4b61e.tar.xz
kernel-qcow2-linux-e2aa19fadd718d7dd920a3994118863861a4b61e.zip
bcma: return the mips irq number in bcma_core_irq
The irq signal numbers that are send by the cpu are increased by 2 from the number programmed into the mips core by bcma. Return the irq number on which the irqs are send in bcma_core_irq() now. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/bcm47xx/serial.c')
-rw-r--r--arch/mips/bcm47xx/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm47xx/serial.c b/arch/mips/bcm47xx/serial.c
index 57981e4fe2bc..b8ef965705cf 100644
--- a/arch/mips/bcm47xx/serial.c
+++ b/arch/mips/bcm47xx/serial.c
@@ -62,7 +62,7 @@ static int __init uart8250_init_bcma(void)
p->mapbase = (unsigned int) bcma_port->regs;
p->membase = (void *) bcma_port->regs;
- p->irq = bcma_port->irq + 2;
+ p->irq = bcma_port->irq;
p->uartclk = bcma_port->baud_base;
p->regshift = bcma_port->reg_shift;
p->iotype = UPIO_MEM;