diff options
Diffstat (limited to 'arch/mips/cobalt')
-rw-r--r-- | arch/mips/cobalt/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/cobalt/serial.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/cobalt/Makefile b/arch/mips/cobalt/Makefile index c292f80a8c74..a043f93f7d08 100644 --- a/arch/mips/cobalt/Makefile +++ b/arch/mips/cobalt/Makefile | |||
@@ -7,3 +7,5 @@ obj-y := buttons.o irq.o reset.o rtc.o serial.o setup.o | |||
7 | obj-$(CONFIG_PCI) += pci.o | 7 | obj-$(CONFIG_PCI) += pci.o |
8 | obj-$(CONFIG_EARLY_PRINTK) += console.o | 8 | obj-$(CONFIG_EARLY_PRINTK) += console.o |
9 | obj-$(CONFIG_MTD_PHYSMAP) += mtd.o | 9 | obj-$(CONFIG_MTD_PHYSMAP) += mtd.o |
10 | |||
11 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/cobalt/serial.c b/arch/mips/cobalt/serial.c index c27116599a5f..08e739704cc9 100644 --- a/arch/mips/cobalt/serial.c +++ b/arch/mips/cobalt/serial.c | |||
@@ -55,9 +55,9 @@ static __init int cobalt_uart_add(void) | |||
55 | int retval; | 55 | int retval; |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * Cobalt Qube1 and RAQ1 have no UART. | 58 | * Cobalt Qube1 has no UART. |
59 | */ | 59 | */ |
60 | if (cobalt_board_id <= COBALT_BRD_ID_RAQ1) | 60 | if (cobalt_board_id == COBALT_BRD_ID_QUBE1) |
61 | return 0; | 61 | return 0; |
62 | 62 | ||
63 | pdev = platform_device_alloc("serial8250", -1); | 63 | pdev = platform_device_alloc("serial8250", -1); |