[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>
This commit is contained in:
parent
f088fc84f9
commit
8f6539d559
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue