]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 91a2ccbe3730e3cfafd15908f0b8e1d766755b6d..6a1854de45799e40d91efa03f8385eecdbdb617b 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 */
 };