aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nomadik_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nomadik_nand.c')
-rw-r--r--drivers/mtd/nand/nomadik_nand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nomadik_nand.c b/drivers/mtd/nand/nomadik_nand.c
index 7c302d55910e..1f6f741af5da 100644
--- a/drivers/mtd/nand/nomadik_nand.c
+++ b/drivers/mtd/nand/nomadik_nand.c
@@ -30,6 +30,7 @@
30#include <linux/platform_device.h> 30#include <linux/platform_device.h>
31#include <linux/mtd/partitions.h> 31#include <linux/mtd/partitions.h>
32#include <linux/io.h> 32#include <linux/io.h>
33#include <linux/slab.h>
33#include <mach/nand.h> 34#include <mach/nand.h>
34#include <mach/fsmc.h> 35#include <mach/fsmc.h>
35 36
@@ -216,7 +217,7 @@ static int nomadik_nand_resume(struct device *dev)
216 return 0; 217 return 0;
217} 218}
218 219
219static struct dev_pm_ops nomadik_nand_pm_ops = { 220static const struct dev_pm_ops nomadik_nand_pm_ops = {
220 .suspend = nomadik_nand_suspend, 221 .suspend = nomadik_nand_suspend,
221 .resume = nomadik_nand_resume, 222 .resume = nomadik_nand_resume,
222}; 223};