aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/generic.c')
-rw-r--r--drivers/mtd/onenand/generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c
index af06a80f44de..cdf80c68160f 100644
--- a/drivers/mtd/onenand/generic.c
+++ b/drivers/mtd/onenand/generic.c
@@ -63,6 +63,7 @@ static int __devinit generic_onenand_probe(struct device *dev)
63 } 63 }
64 64
65 info->onenand.mmcontrol = pdata->mmcontrol; 65 info->onenand.mmcontrol = pdata->mmcontrol;
66 info->onenand.irq = platform_get_irq(pdev, 0);
66 67
67 info->mtd.name = pdev->dev.bus_id; 68 info->mtd.name = pdev->dev.bus_id;
68 info->mtd.priv = &info->onenand; 69 info->mtd.priv = &info->onenand;