提交 c451c7c4 编写于 作者: D David Woodhouse

[MTD] [NAND] Add parent info for CAFÉ controller

Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 87f39f04
...@@ -654,6 +654,7 @@ static int __devinit cafe_nand_probe(struct pci_dev *pdev, ...@@ -654,6 +654,7 @@ static int __devinit cafe_nand_probe(struct pci_dev *pdev,
} }
cafe = (void *)(&mtd[1]); cafe = (void *)(&mtd[1]);
mtd->dev.parent = &pdev->dev;
mtd->priv = cafe; mtd->priv = cafe;
mtd->owner = THIS_MODULE; mtd->owner = THIS_MODULE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册