diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-05-03 21:03:50 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2012-05-03 21:03:50 +0000 |
commit | dc7a519585e10e6e49b88f8737ed02ec3eac66b9 (patch) | |
tree | 6e912f66e4f0bb57db98917218c42d59cda57407 /target/linux/adm5120/files | |
parent | a56ea99b6d46a94c52971854edb5af0a2df9d564 (diff) | |
download | upstream-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.c | 1 |
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) |