028-mtd-bcm47xxpart-use-old-part-names.patch 579 B

1234567891011121314151617181920
  1. --- a/drivers/mtd/bcm47xxpart.c
  2. +++ b/drivers/mtd/bcm47xxpart.c
  3. @@ -134,7 +134,7 @@ static int bcm47xxpart_parse(struct mtd_
  4. trx = (struct trx_header *)buf;
  5. trx_part = curr_part;
  6. - bcm47xxpart_add_part(&parts[curr_part++], "firmware",
  7. + bcm47xxpart_add_part(&parts[curr_part++], "linux",
  8. offset, 0);
  9. i = 0;
  10. @@ -147,7 +147,7 @@ static int bcm47xxpart_parse(struct mtd_
  11. i++;
  12. }
  13. - bcm47xxpart_add_part(&parts[curr_part++], "linux",
  14. + bcm47xxpart_add_part(&parts[curr_part++], "kernel",
  15. offset + trx->offset[i], 0);
  16. i++;