瀏覽代碼

[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>
Ralf Baechle 19 年之前
父節點
當前提交
8f6539d559
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/mips-boards/generic/gdb_hook.c

+ 1 - 1
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 */
 };