From: Ralf Baechle Date: Wed, 5 Apr 2006 08:45:48 +0000 (+0100) Subject: [MIPS] kgdb: Let gcc compute the array size itself. X-Git-Tag: v2.6.17-rc2~1^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8f6539d55919b8e013583df768312a2503f4125d;p=linux-2.6-omap-h63xx.git [MIPS] kgdb: Let gcc compute the array size itself. This is the same method as used in the serial driver. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/gdb_hook.c b/arch/mips/mips-boards/generic/gdb_hook.c index 91a2ccbe373..6a1854de457 100644 --- a/arch/mips/mips-boards/generic/gdb_hook.c +++ b/arch/mips/mips-boards/generic/gdb_hook.c @@ -25,7 +25,7 @@ #include #include -static struct serial_state rs_table[RS_TABLE_SIZE] = { +static struct serial_state rs_table[] = { SERIAL_PORT_DFNS /* Defined in serial.h */ };