projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: nand: use dev_get_platdata()
[deliverable/linux.git]
/
drivers
/
mtd
/
nand
/
lpc32xx_mlc.c
diff --git
a/drivers/mtd/nand/lpc32xx_mlc.c
b/drivers/mtd/nand/lpc32xx_mlc.c
index 74a469b83c0d2c04d931b904f00ab402ed092674..f4dd2a887ea5da15b0b64c743f9ecb2603035b97 100644
(file)
--- a/
drivers/mtd/nand/lpc32xx_mlc.c
+++ b/
drivers/mtd/nand/lpc32xx_mlc.c
@@
-696,7
+696,7
@@
static int lpc32xx_nand_probe(struct platform_device *pdev)
}
lpc32xx_wp_disable(host);
- host->pdata =
pdev->dev.platform_data
;
+ host->pdata =
dev_get_platdata(&pdev->dev)
;
nand_chip->priv = host; /* link the private data structures */
mtd->priv = nand_chip;
This page took
0.025043 seconds
and
5
git commands to generate.