mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
[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
@ -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 New Issue
Block a user