]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - drivers/scsi/mesh.c
[PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi
[linux-3.10.git] / drivers / scsi / mesh.c
index 85f3a74ac421850990c806978442aa0d29d72eb0..f6da46d672f18f063d4a64179b74105445e60e18 100644 (file)
@@ -1757,7 +1757,7 @@ static void set_mesh_power(struct mesh_state *ms, int state)
 
 
 #ifdef CONFIG_PM
-static int mesh_suspend(struct macio_dev *mdev, u32 state)
+static int mesh_suspend(struct macio_dev *mdev, pm_message_t state)
 {
        struct mesh_state *ms = (struct mesh_state *)macio_get_drvdata(mdev);
        unsigned long flags;