ramips: fix cd-poll sd card remove randomly
[openwrt/staging/wigyori.git] / target / linux / generic / patches-3.18 / 003-myloader_backport.patch
1 --- a/drivers/mtd/myloader.c
2 +++ b/drivers/mtd/myloader.c
3 @@ -33,7 +33,7 @@ struct part_data {
4 };
5
6 static int myloader_parse_partitions(struct mtd_info *master,
7 - const struct mtd_partition **pparts,
8 + struct mtd_partition **pparts,
9 struct mtd_part_parser_data *data)
10 {
11 struct part_data *buf;