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
commitdc7a519585e10e6e49b88f8737ed02ec3eac66b9 (patch)
tree6e912f66e4f0bb57db98917218c42d59cda57407 /target/linux/adm5120/files
parenta56ea99b6d46a94c52971854edb5af0a2df9d564 (diff)
downloadupstream-dc7a519585e10e6e49b88f8737ed02ec3eac66b9.tar.gz
upstream-dc7a519585e10e6e49b88f8737ed02ec3eac66b9.tar.bz2
upstream-dc7a519585e10e6e49b88f8737ed02ec3eac66b9.zip
adm5120: add missing NULL terminator to partition parser list
Fixes #11372. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)