]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - drivers/char/sonypi.c
[PATCH] Fix u32 vs. pm_message_t in drivers/char
[linux-3.10.git] / drivers / char / sonypi.c
index f97a8a9751a0d2da245e023013f3813a8966f72d..c812191417c36aac6190f7e94e997ca7f6c3beac 100644 (file)
@@ -1103,7 +1103,7 @@ static int sonypi_disable(void)
 #ifdef CONFIG_PM
 static int old_camera_power;
 
-static int sonypi_suspend(struct device *dev, u32 state, u32 level)
+static int sonypi_suspend(struct device *dev, pm_message_t state, u32 level)
 {
        if (level == SUSPEND_DISABLE) {
                old_camera_power = sonypi_device.camera_power;