projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f39f0
)
[MTD] [NAND] Add parent info for CAFÉ controller
author
David Woodhouse
<David.Woodhouse@intel.com>
Sat, 4 Apr 2009 14:27:45 +0000
(15:27 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sat, 4 Apr 2009 14:27:45 +0000
(15:27 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/cafe_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/cafe_nand.c
b/drivers/mtd/nand/cafe_nand.c
index
22a6b2e
..
7c5b257
100644
(file)
--- a/
drivers/mtd/nand/cafe_nand.c
+++ b/
drivers/mtd/nand/cafe_nand.c
@@
-654,6
+654,7
@@
static int __devinit cafe_nand_probe(struct pci_dev *pdev,
}
cafe = (void *)(&mtd[1]);
+ mtd->dev.parent = &pdev->dev;
mtd->priv = cafe;
mtd->owner = THIS_MODULE;