summaryrefslogtreecommitdiff
path: root/arch/mips/lasat/serial.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-07-14 18:58:47 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 21:44:39 +0400
commitb27418aa551a153e8bf1bd16cf93e5786f9590a9 (patch)
tree568fdf598effa5fe58e10781595392f101198529 /arch/mips/lasat/serial.c
parent0b56fd8c7abbf85baeecb77be25c54d3c7d11587 (diff)
downloadlinux-b27418aa551a153e8bf1bd16cf93e5786f9590a9.tar.xz
[MIPS] Remove mips_machtype for LASAT machines
This is the LASAT part of the mips_machtype removal. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lasat/serial.c')
-rw-r--r--arch/mips/lasat/serial.c3
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 @@
#include <linux/platform_device.h>
#include <linux/serial_8250.h>
-#include <asm/bootinfo.h>
#include <asm/lasat/lasat.h>
#include <asm/lasat/serial.h>
@@ -47,7 +46,7 @@ static __init int lasat_uart_add(void)
if (!pdev)
return -ENOMEM;
- if (mips_machtype == MACH_LASAT_100) {
+ if (!IS_LASAT_200()) {
lasat_serial_res[0].start = KSEG1ADDR(LASAT_UART_REGS_BASE_100);
lasat_serial_res[0].end = lasat_serial_res[0].start + LASAT_UART_REGS_SHIFT_100 * 8 - 1;
lasat_serial_res[0].flags = IORESOURCE_MEM;