]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] [NAND] Add parent info for CAFÉ controller
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Apr 2009 14:27:45 +0000 (15:27 +0100)
committerDavid 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

index 22a6b2e50e917467dbacb08f45775934d5a51832..7c5b257ce8e482c8a974fae8b6eb8ba286a39277 100644 (file)
@@ -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;