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: make use of nand_set/get_controller_data() helpers
[deliverable/linux.git]
/
drivers
/
mtd
/
nand
/
bf5xx_nand.c
diff --git
a/drivers/mtd/nand/bf5xx_nand.c
b/drivers/mtd/nand/bf5xx_nand.c
index 89d9414c5593bd4cfaec5959c7015d82f3a69e8d..7f6b30e615b7f47c2863fc5c11d33de24c319c43 100644
(file)
--- a/
drivers/mtd/nand/bf5xx_nand.c
+++ b/
drivers/mtd/nand/bf5xx_nand.c
@@
-781,7
+781,7
@@
static int bf5xx_nand_probe(struct platform_device *pdev)
chip->cmd_ctrl = bf5xx_nand_hwcontrol;
chip->dev_ready = bf5xx_nand_devready;
-
chip->priv = mtd
;
+
nand_set_controller_data(chip, mtd)
;
chip->controller = &info->controller;
chip->IO_ADDR_R = (void __iomem *) NFC_READ;
This page took
0.024692 seconds
and
5
git commands to generate.