Skip to content

Commit

Permalink
[MIPS] kgdb: Let gcc compute the array size itself.
Browse files Browse the repository at this point in the history
This is the same method as used in the serial driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Apr 19, 2006
1 parent f088fc8 commit 8f6539d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mips-boards/generic/gdb_hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down

0 comments on commit 8f6539d

Please sign in to comment.