You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
cccb6d3c14
commit
0c531360ed
@@ -478,7 +478,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_bf54x_fb))
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user