summaryrefslogtreecommitdiffstats
path: root/drivers/video/bfin-t350mcqb-fb.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-24 06:31:38 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 19:47:40 +0200
commit0c531360ed504aa0ce995fcb8ef08e82b6534d0b (patch)
tree9062cea313b833c57f3284653608d39df580a323 /drivers/video/bfin-t350mcqb-fb.c
parentfb: add support for the ILI9320 video display controller (diff)
downloadlinux-0c531360ed504aa0ce995fcb8ef08e82b6534d0b.tar.xz
linux-0c531360ed504aa0ce995fcb8ef08e82b6534d0b.zip
lcd: add lcd_device to check_fb() entry in lcd_ops
Add the lcd_device being checked to the check_fb entry of lcd_ops. This ensures that any driver using this to check against it's own state can do so, and also makes all the calls in lcd_ops more orthogonal in their arguments. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/bfin-t350mcqb-fb.c')
-rw-r--r--drivers/video/bfin-t350mcqb-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c
index 135d6dd7e672..7d1b819e501c 100644
--- a/drivers/video/bfin-t350mcqb-fb.c
+++ b/drivers/video/bfin-t350mcqb-fb.c
@@ -396,7 +396,7 @@ static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast)
return 0;
}
-static int bfin_lcd_check_fb(struct fb_info *fi)
+static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi)
{
if (!fi || (fi == &bfin_t350mcqb_fb))
return 1;