diff options
Diffstat (limited to 'arch/mips/bcm47xx/serial.c')
-rw-r--r-- | arch/mips/bcm47xx/serial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/bcm47xx/serial.c b/arch/mips/bcm47xx/serial.c index 2f5bbd68e9a0..df761d38f7fc 100644 --- a/arch/mips/bcm47xx/serial.c +++ b/arch/mips/bcm47xx/serial.c | |||
@@ -36,8 +36,8 @@ static int __init uart8250_init_ssb(void) | |||
36 | struct plat_serial8250_port *p = &(uart8250_data[i]); | 36 | struct plat_serial8250_port *p = &(uart8250_data[i]); |
37 | struct ssb_serial_port *ssb_port = &(mcore->serial_ports[i]); | 37 | struct ssb_serial_port *ssb_port = &(mcore->serial_ports[i]); |
38 | 38 | ||
39 | p->mapbase = (unsigned int) ssb_port->regs; | 39 | p->mapbase = (unsigned int)ssb_port->regs; |
40 | p->membase = (void *) ssb_port->regs; | 40 | p->membase = (void *)ssb_port->regs; |
41 | p->irq = ssb_port->irq + 2; | 41 | p->irq = ssb_port->irq + 2; |
42 | p->uartclk = ssb_port->baud_base; | 42 | p->uartclk = ssb_port->baud_base; |
43 | p->regshift = ssb_port->reg_shift; | 43 | p->regshift = ssb_port->reg_shift; |
@@ -62,8 +62,8 @@ static int __init uart8250_init_bcma(void) | |||
62 | struct bcma_serial_port *bcma_port; | 62 | struct bcma_serial_port *bcma_port; |
63 | bcma_port = &(cc->serial_ports[i]); | 63 | bcma_port = &(cc->serial_ports[i]); |
64 | 64 | ||
65 | p->mapbase = (unsigned int) bcma_port->regs; | 65 | p->mapbase = (unsigned int)bcma_port->regs; |
66 | p->membase = (void *) bcma_port->regs; | 66 | p->membase = (void *)bcma_port->regs; |
67 | p->irq = bcma_port->irq; | 67 | p->irq = bcma_port->irq; |
68 | p->uartclk = bcma_port->baud_base; | 68 | p->uartclk = bcma_port->baud_base; |
69 | p->regshift = bcma_port->reg_shift; | 69 | p->regshift = bcma_port->reg_shift; |