adm5120: add missing NULL terminator to partition parser list
authorJonas Gorski <jogo@openwrt.org>
Thu, 3 May 2012 21:03:50 +0000 (21:03 +0000)
committerJonas Gorski <jogo@openwrt.org>
Thu, 3 May 2012 21:03:50 +0000 (21:03 +0000)
Fixes #11372.

SVN-Revision: 31574

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

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