summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/sa1100-flash.c
diff options
context:
space:
mode:
authorPavel Machek2005-04-17 00:25:29 +0200
committerLinus Torvalds2005-04-17 00:25:29 +0200
commite5378ca8c0ab684bd9339dc6827dd5a042f9e6fc (patch)
tree27dd779f05409b4f7ee91569ad009224729ccbb2 /drivers/mtd/maps/sa1100-flash.c
parent[PATCH] fix u32 vs. pm_message_t in drivers/message (diff)
downloadkernel-qcow2-linux-e5378ca8c0ab684bd9339dc6827dd5a042f9e6fc.tar.gz
kernel-qcow2-linux-e5378ca8c0ab684bd9339dc6827dd5a042f9e6fc.tar.xz
kernel-qcow2-linux-e5378ca8c0ab684bd9339dc6827dd5a042f9e6fc.zip
[PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi
This fixes u32 vs. pm_message_t in drivers/mmc, drivers/mtd and drivers/scsi. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd/maps/sa1100-flash.c')
-rw-r--r--drivers/mtd/maps/sa1100-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c
index 0a6f861c4cd6..52385705da09 100644
--- a/drivers/mtd/maps/sa1100-flash.c
+++ b/drivers/mtd/maps/sa1100-flash.c
@@ -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;