Commit f3f9a5da authored by Jonas Gorski's avatar Jonas Gorski Committed by Artem Bityutskiy

mtd: bcm63xxpart: move the last curpart++ to its correct place

The line belongs above the comment, not below it.
Signed-off-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 4e4fb639
...@@ -190,9 +190,9 @@ static int bcm63xx_parse_cfe_partitions(struct mtd_info *master, ...@@ -190,9 +190,9 @@ static int bcm63xx_parse_cfe_partitions(struct mtd_info *master,
parts[curpart].name = "nvram"; parts[curpart].name = "nvram";
parts[curpart].offset = master->size - nvramlen; parts[curpart].offset = master->size - nvramlen;
parts[curpart].size = nvramlen; parts[curpart].size = nvramlen;
curpart++;
/* Global partition "linux" to make easy firmware upgrade */ /* Global partition "linux" to make easy firmware upgrade */
curpart++;
parts[curpart].name = "linux"; parts[curpart].name = "linux";
parts[curpart].offset = cfelen; parts[curpart].offset = cfelen;
parts[curpart].size = master->size - cfelen - nvramlen; parts[curpart].size = master->size - cfelen - nvramlen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment