]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - drivers/mtd/maps/sa1100-flash.c
[PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi
[linux-3.10.git] / drivers / mtd / maps / sa1100-flash.c
index 0a6f861c4cd6b71259e89c8493bad0c892db1bb6..52385705da09fe32d13590c7628aa2372e303e65 100644 (file)
@@ -403,7 +403,7 @@ static int __exit sa1100_mtd_remove(struct device *dev)
 }
 
 #ifdef CONFIG_PM
-static int sa1100_mtd_suspend(struct device *dev, u32 state, u32 level)
+static int sa1100_mtd_suspend(struct device *dev, pm_message_t state, u32 level)
 {
        struct sa_info *info = dev_get_drvdata(dev);
        int ret = 0;