From: David Woodhouse Date: Sat, 4 Apr 2009 14:27:45 +0000 (+0100) Subject: [MTD] [NAND] Add parent info for CAFÉ controller X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c451c7c4c9c4f59c7808a7d397d32bef160c14d9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [MTD] [NAND] Add parent info for CAFÉ controller Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 22a6b2e50e91..7c5b257ce8e4 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;