summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files/drivers
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-03 21:03:50 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-03 21:03:50 +0000
commit4e31867a39dfab8b0f3be0dbac45a283e92ae9f0 (patch)
tree6e912f66e4f0bb57db98917218c42d59cda57407 /target/linux/adm5120/files/drivers
parent14f0acdc28029cf1766e115ab73231adcdbe1923 (diff)
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/drivers')
-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 58cf27743..f6a86f489 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)