aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-04-16 18:25:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:36 -0400
commit9bfd354b1b9c2f4faee121892bdfbc1490b51ab5 (patch)
tree292b71ae99b8ad8d699237d6fc8b718636ef5f2d /drivers/video/backlight
parent0370affeec3e751412e917aab931d8ba52680578 (diff)
[PATCH] fix u32 vs. pm_message_t in driver/video
This fixes u32 vs. pm_message_t confusion in drivers/video. Should change no code. 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/video/backlight')
-rw-r--r--drivers/video/backlight/corgi_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/corgi_bl.c b/drivers/video/backlight/corgi_bl.c
index 3c026b036c86..353cb3f73cf2 100644
--- a/drivers/video/backlight/corgi_bl.c
+++ b/drivers/video/backlight/corgi_bl.c
@@ -81,7 +81,7 @@ static void corgibl_blank(int blank)
81} 81}
82 82
83#ifdef CONFIG_PM 83#ifdef CONFIG_PM
84static int corgibl_suspend(struct device *dev, u32 state, u32 level) 84static int corgibl_suspend(struct device *dev, pm_message_t state, u32 level)
85{ 85{
86 if (level == SUSPEND_POWER_DOWN) 86 if (level == SUSPEND_POWER_DOWN)
87 corgibl_blank(FB_BLANK_POWERDOWN); 87 corgibl_blank(FB_BLANK_POWERDOWN);