diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2012-11-12 09:52:50 (GMT) |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-21 15:15:05 (GMT) |
commit | f3f9a5dac79880af9a27f520fbeff11314ef9dde (patch) | |
tree | 8fd907d71d6ac598ab735b0fef76be7c00259307 /drivers/mtd/bcm63xxpart.c | |
parent | 4e4fb63955650e39ccfbd376733fa258adfb1e5d (diff) | |
download | linux-f3f9a5dac79880af9a27f520fbeff11314ef9dde.tar.xz |
mtd: bcm63xxpart: move the last curpart++ to its correct place
The line belongs above the comment, not below it.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/bcm63xxpart.c')
-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 b3db8e3..44cba4e 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, parts[curpart].name = "nvram"; parts[curpart].offset = master->size - nvramlen; parts[curpart].size = nvramlen; + curpart++; /* Global partition "linux" to make easy firmware upgrade */ - curpart++; parts[curpart].name = "linux"; parts[curpart].offset = cfelen; parts[curpart].size = master->size - cfelen - nvramlen; |