Linux Audio

Check our new training course

Loading...
v3.1
 
 1/* include/video/platform_lcd.h
 2 *
 3 * Copyright 2008 Simtec Electronics
 4 *	Ben Dooks <ben@simtec.co.uk>
 5 *
 6 * Generic platform-device LCD power control interface.
 7 *
 8 * This program is free software; you can redistribute it and/or modify
 9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12*/
13
14struct plat_lcd_data;
15struct fb_info;
16
17struct plat_lcd_data {
 
18	void	(*set_power)(struct plat_lcd_data *, unsigned int power);
19	int	(*match_fb)(struct plat_lcd_data *, struct fb_info *);
20};
21
v6.2
 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
10struct plat_lcd_data;
11struct fb_info;
12
13struct 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