[MTD] [NAND] Add parent info for CAFÉ controller
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
87f39f0493
commit
c451c7c4c9
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue