|
@@ -59,8 +59,7 @@ static int plat_nand_probe(struct platform_device *pdev)
|
|
|
|
|
|
data->chip.priv = &data;
|
|
data->chip.priv = &data;
|
|
data->mtd.priv = &data->chip;
|
|
data->mtd.priv = &data->chip;
|
|
- data->mtd.owner = THIS_MODULE;
|
|
|
|
- data->mtd.name = dev_name(&pdev->dev);
|
|
|
|
|
|
+ data->mtd.dev.parent = &pdev->dev;
|
|
|
|
|
|
data->chip.IO_ADDR_R = data->io_base;
|
|
data->chip.IO_ADDR_R = data->io_base;
|
|
data->chip.IO_ADDR_W = data->io_base;
|
|
data->chip.IO_ADDR_W = data->io_base;
|