aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-05-03 21:03:50 +0000
committerJonas Gorski <jogo@openwrt.org>2012-05-03 21:03:50 +0000
commitb393464fb408f0428e2f347ea993f3047d2865f2 (patch)
tree92b815a87d40186b75f6704c65930fc5dbe0b96e /target/linux/adm5120/files
parent22b2e3fbb9cc78d671e44f788a062031c97ffc6f (diff)
downloadupstream-b393464fb408f0428e2f347ea993f3047d2865f2.tar.gz
upstream-b393464fb408f0428e2f347ea993f3047d2865f2.tar.bz2
upstream-b393464fb408f0428e2f347ea993f3047d2865f2.zip
adm5120: add missing NULL terminator to partition parser list
Fixes #11372. SVN-Revision: 31574
Diffstat (limited to 'target/linux/adm5120/files')
-rw-r--r--target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c1
1 files changed, 1 insertions, 0 deletions
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)