diff options
Diffstat (limited to 'arch/mips/lasat/serial.c')
-rw-r--r-- | arch/mips/lasat/serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/lasat/serial.c b/arch/mips/lasat/serial.c index 205bd397d75b..5bcb6e89ab78 100644 --- a/arch/mips/lasat/serial.c +++ b/arch/mips/lasat/serial.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/serial_8250.h> | 24 | #include <linux/serial_8250.h> |
25 | 25 | ||
26 | #include <asm/bootinfo.h> | ||
27 | #include <asm/lasat/lasat.h> | 26 | #include <asm/lasat/lasat.h> |
28 | #include <asm/lasat/serial.h> | 27 | #include <asm/lasat/serial.h> |
29 | 28 | ||
@@ -47,7 +46,7 @@ static __init int lasat_uart_add(void) | |||
47 | if (!pdev) | 46 | if (!pdev) |
48 | return -ENOMEM; | 47 | return -ENOMEM; |
49 | 48 | ||
50 | if (mips_machtype == MACH_LASAT_100) { | 49 | if (!IS_LASAT_200()) { |
51 | lasat_serial_res[0].start = KSEG1ADDR(LASAT_UART_REGS_BASE_100); | 50 | lasat_serial_res[0].start = KSEG1ADDR(LASAT_UART_REGS_BASE_100); |
52 | lasat_serial_res[0].end = lasat_serial_res[0].start + LASAT_UART_REGS_SHIFT_100 * 8 - 1; | 51 | lasat_serial_res[0].end = lasat_serial_res[0].start + LASAT_UART_REGS_SHIFT_100 * 8 - 1; |
53 | lasat_serial_res[0].flags = IORESOURCE_MEM; | 52 | lasat_serial_res[0].flags = IORESOURCE_MEM; |