From: Jonas Gorski Date: Thu, 3 May 2012 21:03:50 +0000 (+0000) Subject: adm5120: add missing NULL terminator to partition parser list X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b393464fb408f0428e2f347ea993f3047d2865f2;p=openwrt%2Fstaging%2Fldir.git adm5120: add missing NULL terminator to partition parser list Fixes #11372. SVN-Revision: 31574 --- diff --git a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c b/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c index 58cf277438..f6a86f4897 100644 --- a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c +++ b/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)