Files
erofs-linux/include/video/platform_lcd.h
T
Ben Dooks c25826a7cf lcd: add platform_lcd driver
Add a platform_lcd driver to allow boards with simple lcd power controls
to register themselves easily.

[[email protected]: build fix]
Signed-off-by: Ben Dooks <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-07-24 10:47:40 -07:00

22 lines
550 B
C

/* include/video/platform_lcd.h
*
* Copyright 2008 Simtec Electronics
* Ben Dooks <[email protected]>
*
* Generic platform-device LCD power control interface.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
struct plat_lcd_data;
struct fb_info;
struct plat_lcd_data {
void (*set_power)(struct plat_lcd_data *, unsigned int power);
int (*match_fb)(struct plat_lcd_data *, struct fb_info *);
};