summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-01-14 00:55:20 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-14 08:52:23 -0800
commitf0466441492dc17d0749ef0cce9831fc7e4a7a5d (patch)
tree883ec9ba461f3cf656030ae9d7f8bfa881914146 /drivers/video
parent68842c9b94560e647e8e7cc75cbb3dbe59f6fcb5 (diff)
downloadlinux-f0466441492dc17d0749ef0cce9831fc7e4a7a5d.tar.gz
linux-f0466441492dc17d0749ef0cce9831fc7e4a7a5d.tar.bz2
linux-f0466441492dc17d0749ef0cce9831fc7e4a7a5d.zip
s3c2410fb: fix incorrect argument type in resume function
Fix wrong pointer type passed into the s3c2410fb_init_registers() function. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/s3c2410fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
index 5857ccf5f6b1..ad35033f1a48 100644
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -1026,7 +1026,7 @@ static int s3c2410fb_resume(struct platform_device *dev)
clk_enable(info->clk);
msleep(1);
- s3c2410fb_init_registers(info);
+ s3c2410fb_init_registers(fbinfo);
return 0;
}