diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-08-23 12:53:50 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 11:18:46 -0400 |
commit | 606a083b1e1a357cb66454e4581b80f1a67d8368 (patch) | |
tree | 4967e653091001d2bcd6ca380cdc5a7ad61be53b /arch/mips/rb532/serial.c | |
parent | deeb45ac4a32c8271b022ecba73913bc1112e8e6 (diff) |
MIPS: RB532: Cleanup the headers again
This patch cleans up headers and regroups informations to
where they should reside. While moving, try to have a
consistant naming for defines.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/rb532/serial.c')
-rw-r--r-- | arch/mips/rb532/serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/rb532/serial.c b/arch/mips/rb532/serial.c index 1a05b5ddee09..3e0d7ec3a579 100644 --- a/arch/mips/rb532/serial.c +++ b/arch/mips/rb532/serial.c | |||
@@ -31,16 +31,16 @@ | |||
31 | #include <linux/serial_8250.h> | 31 | #include <linux/serial_8250.h> |
32 | 32 | ||
33 | #include <asm/serial.h> | 33 | #include <asm/serial.h> |
34 | #include <asm/mach-rc32434/rc32434.h> | 34 | #include <asm/mach-rc32434/rb.h> |
35 | 35 | ||
36 | extern unsigned int idt_cpu_freq; | 36 | extern unsigned int idt_cpu_freq; |
37 | 37 | ||
38 | static struct uart_port rb532_uart = { | 38 | static struct uart_port rb532_uart = { |
39 | .type = PORT_16550A, | 39 | .type = PORT_16550A, |
40 | .line = 0, | 40 | .line = 0, |
41 | .irq = RC32434_UART0_IRQ, | 41 | .irq = UART0_IRQ, |
42 | .iotype = UPIO_MEM, | 42 | .iotype = UPIO_MEM, |
43 | .membase = (char *)KSEG1ADDR(RC32434_UART0_BASE), | 43 | .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE), |
44 | .regshift = 2 | 44 | .regshift = 2 |
45 | }; | 45 | }; |
46 | 46 | ||