projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag '4.9/mtd-pairing-scheme' of github.com:linux-nand/linux
[cascardo/linux.git]
/
drivers
/
mtd
/
nand
/
ndfc.c
diff --git
a/drivers/mtd/nand/ndfc.c
b/drivers/mtd/nand/ndfc.c
index
218c789
..
28e6118
100644
(file)
--- a/
drivers/mtd/nand/ndfc.c
+++ b/
drivers/mtd/nand/ndfc.c
@@
-218,8
+218,7
@@
static int ndfc_probe(struct platform_device *ofdev)
ndfc = &ndfc_ctrl[cs];
ndfc->chip_select = cs;
ndfc = &ndfc_ctrl[cs];
ndfc->chip_select = cs;
- spin_lock_init(&ndfc->ndfc_control.lock);
- init_waitqueue_head(&ndfc->ndfc_control.wq);
+ nand_hw_control_init(&ndfc->ndfc_control);
ndfc->ofdev = ofdev;
dev_set_drvdata(&ofdev->dev, ndfc);
ndfc->ofdev = ofdev;
dev_set_drvdata(&ofdev->dev, ndfc);