[MIPS] kgdb: Let gcc compute the array size itself.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 5 Apr 2006 08:45:48 +0000 (09:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:28 +0000 (04:14 +0200)
This is the same method as used in the serial driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/gdb_hook.c

index 91a2ccb..6a1854d 100644 (file)
@@ -25,7 +25,7 @@
 #include <asm/serial.h>
 #include <asm/io.h>
 
-static struct serial_state rs_table[RS_TABLE_SIZE] = {
+static struct serial_state rs_table[] = {
        SERIAL_PORT_DFNS        /* Defined in serial.h */
 };