diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-05 09:45:48 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-19 04:14:28 +0200 |
commit | 8f6539d55919b8e013583df768312a2503f4125d (patch) | |
tree | e141e06fa6831f5500bafc7f9136be46ea252219 /arch/mips/mips-boards | |
parent | f088fc84f94c1a36943e28ad704a9a740a35f877 (diff) | |
download | kernel-crypto-8f6539d55919b8e013583df768312a2503f4125d.tar.gz kernel-crypto-8f6539d55919b8e013583df768312a2503f4125d.tar.xz kernel-crypto-8f6539d55919b8e013583df768312a2503f4125d.zip |
[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 <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r-- | arch/mips/mips-boards/generic/gdb_hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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 */ }; |