Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Ben Dooks | c25826a | 2008-07-23 21:31:38 -0700 | [diff] [blame] | 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. |
Ben Dooks | c25826a | 2008-07-23 21:31:38 -0700 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | struct plat_lcd_data; |
| 11 | struct fb_info; |
| 12 | |
| 13 | struct plat_lcd_data { |
Andrew Bresticker | 46e1915 | 2013-04-29 16:17:58 -0700 | [diff] [blame] | 14 | int (*probe)(struct plat_lcd_data *); |
Ben Dooks | c25826a | 2008-07-23 21:31:38 -0700 | [diff] [blame] | 15 | void (*set_power)(struct plat_lcd_data *, unsigned int power); |
| 16 | int (*match_fb)(struct plat_lcd_data *, struct fb_info *); |
| 17 | }; |
| 18 | |