Commit db99a552 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] [NOR] Add device parent info to physmap_of

parent 1b578193
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -219,6 +219,7 @@ static int __devinit of_flash_probe(struct of_device *dev,
		goto err_out;
	}
	info->mtd->owner = THIS_MODULE;
	info->mtd->dev.parent = &dev->dev;

#ifdef CONFIG_MTD_PARTITIONS
	/* First look for RedBoot table or partitions on the command