diff options
Diffstat (limited to 'drivers/mtd/onenand/generic.c')
-rw-r--r-- | drivers/mtd/onenand/generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 53eb5632bdbb..3d44d040a47d 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -61,6 +61,7 @@ static int __devinit generic_onenand_probe(struct device *dev) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | info->onenand.mmcontrol = pdata->mmcontrol; | 63 | info->onenand.mmcontrol = pdata->mmcontrol; |
64 | info->onenand.irq = platform_get_irq(pdev, 0); | ||
64 | 65 | ||
65 | info->mtd.name = pdev->dev.bus_id; | 66 | info->mtd.name = pdev->dev.bus_id; |
66 | info->mtd.priv = &info->onenand; | 67 | info->mtd.priv = &info->onenand; |