mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-08 23:55:14 +00: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:
parent
cccb6d3c14
commit
0c531360ed
4 changed files with 4 additions and 4 deletions
|
@ -47,7 +47,7 @@ struct lcd_ops {
|
|||
int (*set_contrast)(struct lcd_device *, int contrast);
|
||||
/* Check if given framebuffer device is the one LCD is bound to;
|
||||
return 0 if not, !=0 if it is. If NULL, lcd always matches the fb. */
|
||||
int (*check_fb)(struct fb_info *);
|
||||
int (*check_fb)(struct lcd_device *, struct fb_info *);
|
||||
};
|
||||
|
||||
struct lcd_device {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue