浏览代码

adm5120: add missing NULL terminator to partition parser list

Fixes #11372.

SVN-Revision: 31574
Jonas Gorski 13 年之前
父节点
当前提交
b393464fb4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c

+ 1 - 0
target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c

@@ -100,6 +100,7 @@ static const char const *parse_types[] = {
 #ifdef CONFIG_MTD_MYLOADER_PARTS
 	"MyLoader",
 #endif
+	NULL,
 };
 
 #define BANK_SIZE	(2<<20)