aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar7/files/drivers/mtd/ac49xpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/drivers/mtd/ac49xpart.c b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
index 7ac4a817fc..4f8a9c1b84 100644
--- a/target/linux/ar7/files/drivers/mtd/ac49xpart.c
+++ b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
@@ -123,7 +123,7 @@ void gen_partname(unsigned int type,
}
static int create_mtd_partitions(struct mtd_info *master,
- struct mtd_partition **pparts,
+ const struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{
unsigned int envpartnum = 0, linuxpartnum = 0;