[PATCH] fix u32 vs. pm_message_t in driver/video
[linux-3.10.git] / drivers / video / backlight / corgi_bl.c
index 3c026b036c86c6f65c600022f24c9291d017639e..353cb3f73cf2f6267dbaf2a8a625d261742828ce 100644 (file)
@@ -81,7 +81,7 @@ static void corgibl_blank(int blank)
 }
 
 #ifdef CONFIG_PM
-static int corgibl_suspend(struct device *dev, u32 state, u32 level)
+static int corgibl_suspend(struct device *dev, pm_message_t state, u32 level)
 {
        if (level == SUSPEND_POWER_DOWN)
                corgibl_blank(FB_BLANK_POWERDOWN);