diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-04 14:27:45 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-04 14:27:45 (GMT) |
commit | c451c7c4c9c4f59c7808a7d397d32bef160c14d9 (patch) | |
tree | 9300e0d6444e2b5bb7785d7273a26e3be4155113 /drivers | |
parent | 87f39f0493edf7051b1b87c6e9eb7f9a74be8e85 (diff) | |
download | linux-fsl-qoriq-c451c7c4c9c4f59c7808a7d397d32bef160c14d9.tar.xz |
[MTD] [NAND] Add parent info for CAFÉ controller
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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; |