adm5120: add missing NULL terminator to partition parser list
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 May 2012 21:03:50 +0000 (21:03 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 May 2012 21:03:50 +0000 (21:03 +0000)
Fixes #11372.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 58cf277..f6a86f4 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)