[MTD] [NAND] Add parent info for CAFÉ controller
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Apr 4 10:59:03 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c451c7c4c9c4f59c7808a7d397d32bef160c14d9
Commit: c451c7c4c9c4f59c7808a7d397d32bef160c14d9
Parent: 87f39f0493edf7051b1b87c6e9eb7f9a74be8e85
Author: David Woodhouse <David.Woodhouse at intel.com>
AuthorDate: Sat Apr 4 15:27:45 2009 +0100
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Apr 4 15:27:45 2009 +0100
[MTD] [NAND] Add parent info for CAFÉ controller
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/cafe_nand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index 22a6b2e..7c5b257 100644
--- 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;
More information about the linux-mtd-cvs
mailing list