summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
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
parent22b2e3fbb9cc78d671e44f788a062031c97ffc6f (diff)
downloadmtk-20170518-b393464fb408f0428e2f347ea993f3047d2865f2.zip
mtk-20170518-b393464fb408f0428e2f347ea993f3047d2865f2.tar.gz
mtk-20170518-b393464fb408f0428e2f347ea993f3047d2865f2.tar.bz2
adm5120: add missing NULL terminator to partition parser list
Fixes #11372. SVN-Revision: 31574
Diffstat (limited to 'target/linux/adm5120')
-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 58cf277..f6a86f4 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)