diff options
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch b/target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch index 53fc4c5..330ec1e 100644 --- a/target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch +++ b/target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch @@ -155,7 +155,7 @@ + struct mtd_partition **pparts, + struct mtd_part_parser_data *data) +{ -+ struct device_node *dp = data->of_node; ++ struct device_node *dp = mtd_get_of_node(master); + struct device_node *pp; + int i, nr_parts = 0; + const char *partname; @@ -342,7 +342,7 @@ + struct mtd_partition **pparts, + struct mtd_part_parser_data *data) +{ -+ if (data && data->of_node) ++ if (mtd_get_of_node(master)) + return bcm63xx_parse_cfe_partitions_of(master, pparts, data); + else + return bcm63xx_parse_cfe_partitions(master, pparts, data); |