]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/nand/plat_nand.c
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx
[linux-2.6-omap-h63xx.git] / drivers / mtd / nand / plat_nand.c
index 0fdb93ebc2fabecc6069824620896a3829bf62b8..f674c5427b17c5a7783a38f1b178848070705de9 100644 (file)
@@ -54,6 +54,7 @@ static int __init plat_nand_probe(struct platform_device *pdev)
        data->chip.priv = &data;
        data->mtd.priv = &data->chip;
        data->mtd.owner = THIS_MODULE;
+       data->mtd.name = pdev->dev.bus_id;
 
        data->chip.IO_ADDR_R = data->io_base;
        data->chip.IO_ADDR_W = data->io_base;