|
@@ -854,6 +854,7 @@ static int spear_smi_setup_banks(struct platform_device *pdev,
|
|
else
|
|
else
|
|
flash->mtd.name = flash_devices[flash_index].name;
|
|
flash->mtd.name = flash_devices[flash_index].name;
|
|
|
|
|
|
|
|
+ flash->mtd.dev.parent = &pdev->dev;
|
|
flash->mtd.type = MTD_NORFLASH;
|
|
flash->mtd.type = MTD_NORFLASH;
|
|
flash->mtd.writesize = 1;
|
|
flash->mtd.writesize = 1;
|
|
flash->mtd.flags = MTD_CAP_NORFLASH;
|
|
flash->mtd.flags = MTD_CAP_NORFLASH;
|