summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c2410fb.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-01-14 09:55:20 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-14 17:52:23 +0100
commitf0466441492dc17d0749ef0cce9831fc7e4a7a5d (patch)
tree883ec9ba461f3cf656030ae9d7f8bfa881914146 /drivers/video/s3c2410fb.c
parenthugetlbfs: fix quota leak (diff)
downloadlinux-f0466441492dc17d0749ef0cce9831fc7e4a7a5d.tar.xz
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/s3c2410fb.c')
-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;
}