blob: 6a95184a28c167396c51e85e8a85301a750ced55 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Ben Dooksc25826a2008-07-23 21:31:38 -07002/* 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.
Ben Dooksc25826a2008-07-23 21:31:38 -07008*/
9
10struct plat_lcd_data;
11struct fb_info;
12
13struct plat_lcd_data {
Andrew Bresticker46e19152013-04-29 16:17:58 -070014 int (*probe)(struct plat_lcd_data *);
Ben Dooksc25826a2008-07-23 21:31:38 -070015 void (*set_power)(struct plat_lcd_data *, unsigned int power);
16 int (*match_fb)(struct plat_lcd_data *, struct fb_info *);
17};
18