]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/maps/omap_nor.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / drivers / mtd / maps / omap_nor.c
index 1273d5738447428c4b92b42854cff8985a0461cd..8cc92958e5e9a025c6895ea0a2566d4f3e20c510 100644 (file)
@@ -115,6 +115,8 @@ static int __init omapflash_probe(struct platform_device *pdev)
        }
        info->mtd->owner = THIS_MODULE;
 
+       info->mtd->dev.parent = &pdev->dev;
+
 #ifdef CONFIG_MTD_PARTITIONS
        err = parse_mtd_partitions(info->mtd, part_probes, &info->parts, 0);
        if (err > 0)