diff options
-rw-r--r-- | drivers/mtd/bcm63xxpart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/bcm63xxpart.c b/drivers/mtd/bcm63xxpart.c index b3db8e35a236..44cba4eba34c 100644 --- a/drivers/mtd/bcm63xxpart.c +++ b/drivers/mtd/bcm63xxpart.c | |||
@@ -190,9 +190,9 @@ static int bcm63xx_parse_cfe_partitions(struct mtd_info *master, | |||
190 | parts[curpart].name = "nvram"; | 190 | parts[curpart].name = "nvram"; |
191 | parts[curpart].offset = master->size - nvramlen; | 191 | parts[curpart].offset = master->size - nvramlen; |
192 | parts[curpart].size = nvramlen; | 192 | parts[curpart].size = nvramlen; |
193 | curpart++; | ||
193 | 194 | ||
194 | /* Global partition "linux" to make easy firmware upgrade */ | 195 | /* Global partition "linux" to make easy firmware upgrade */ |
195 | curpart++; | ||
196 | parts[curpart].name = "linux"; | 196 | parts[curpart].name = "linux"; |
197 | parts[curpart].offset = cfelen; | 197 | parts[curpart].offset = cfelen; |
198 | parts[curpart].size = master->size - cfelen - nvramlen; | 198 | parts[curpart].size = master->size - cfelen - nvramlen; |