xref: /openbmc/linux/include/video/platform_lcd.h (revision c4e78957)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* include/video/platform_lcd.h
3  *
4  * Copyright 2008 Simtec Electronics
5  *	Ben Dooks <ben@simtec.co.uk>
6  *
7  * Generic platform-device LCD power control interface.
8 */
9 
10 struct plat_lcd_data;
11 struct fb_info;
12 
13 struct plat_lcd_data {
14 	int	(*probe)(struct plat_lcd_data *);
15 	void	(*set_power)(struct plat_lcd_data *, unsigned int power);
16 	int	(*match_fb)(struct plat_lcd_data *, struct fb_info *);
17 };
18 
19