summaryrefslogtreecommitdiffstats
path: root/drivers/video/sa1100fb.c
diff options
context:
space:
mode:
authorPavel Machek2005-04-17 00:25:36 +0200
committerLinus Torvalds2005-04-17 00:25:36 +0200
commit9bfd354b1b9c2f4faee121892bdfbc1490b51ab5 (patch)
tree292b71ae99b8ad8d699237d6fc8b718636ef5f2d /drivers/video/sa1100fb.c
parent[PATCH] fix u32 vs. pm_message_t in drivers/ (diff)
downloadkernel-qcow2-linux-9bfd354b1b9c2f4faee121892bdfbc1490b51ab5.tar.gz
kernel-qcow2-linux-9bfd354b1b9c2f4faee121892bdfbc1490b51ab5.tar.xz
kernel-qcow2-linux-9bfd354b1b9c2f4faee121892bdfbc1490b51ab5.zip
[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/sa1100fb.c')
-rw-r--r--drivers/video/sa1100fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
index 4f8043a71f21..2d29db7ef800 100644
--- a/drivers/video/sa1100fb.c
+++ b/drivers/video/sa1100fb.c
@@ -1307,7 +1307,7 @@ sa1100fb_freq_policy(struct notifier_block *nb, unsigned long val,
* Power management hooks. Note that we won't be called from IRQ context,
* unlike the blank functions above, so we may sleep.
*/
-static int sa1100fb_suspend(struct device *dev, u32 state, u32 level)
+static int sa1100fb_suspend(struct device *dev, pm_message_t state, u32 level)
{
struct sa1100fb_info *fbi = dev_get_drvdata(dev);