Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252553
b: refs/heads/master
c: a04d23d
h: refs/heads/master
i:
  252551: 746781f
v: v3
  • Loading branch information
Jamie Iles authored and David Woodhouse committed May 25, 2011
1 parent 579b39f commit 2d59216
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: 1f3a7c626f7e55657255df89fab418714502093a
refs/heads/master: a04d23dfea631993bcb256c638e379c002af9e4f
7 changes: 1 addition & 6 deletions trunk/drivers/mtd/nand/nomadik_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,7 @@ static int nomadik_nand_probe(struct platform_device *pdev)
goto err_unmap;
}

#ifdef CONFIG_MTD_PARTITIONS
add_mtd_partitions(&host->mtd, pdata->parts, pdata->nparts);
#else
pr_info("Registering %s as whole device\n", mtd->name);
add_mtd_device(mtd);
#endif
mtd_device_register(&host->mtd, pdata->parts, pdata->nparts);

platform_set_drvdata(pdev, host);
return 0;
Expand Down

0 comments on commit 2d59216

Please sign in to comment.