Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274793
b: refs/heads/master
c: 2aedf3e
h: refs/heads/master
i:
  274791: 88e8424
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent fbdab27 commit f0cc422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5279fe36fa4c5e3f33b25111c1cbf08386e78d06
refs/heads/master: 2aedf3e982c1b0177710c87e2f199624d07abc8e
7 changes: 1 addition & 6 deletions trunk/drivers/mtd/nand/ndfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ static int ndfc_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
static int ndfc_chip_init(struct ndfc_controller *ndfc,
struct device_node *node)
{
#ifdef CONFIG_MTD_CMDLINE_PARTS
static const char *part_types[] = { "cmdlinepart", NULL };
#else
static const char *part_types[] = { NULL };
#endif
struct device_node *flash_np;
struct nand_chip *chip = &ndfc->chip;
int ret;
Expand Down Expand Up @@ -204,7 +199,7 @@ static int ndfc_chip_init(struct ndfc_controller *ndfc,
if (ret)
goto err;

ret = parse_mtd_partitions(&ndfc->mtd, part_types, &ndfc->parts, 0);
ret = parse_mtd_partitions(&ndfc->mtd, NULL, &ndfc->parts, 0);
if (ret < 0)
goto err;

Expand Down

0 comments on commit f0cc422

Please sign in to comment.