Ben Dooks | c25826a | 2008-07-23 21:31:38 -0700 | [diff] [blame] | 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 | |
| 14 | struct plat_lcd_data; |
| 15 | struct fb_info; |
| 16 | |
| 17 | struct plat_lcd_data { |
Andrew Bresticker | 46e1915 | 2013-04-29 16:17:58 -0700 | [diff] [blame] | 18 | int (*probe)(struct plat_lcd_data *); |
Ben Dooks | c25826a | 2008-07-23 21:31:38 -0700 | [diff] [blame] | 19 | void (*set_power)(struct plat_lcd_data *, unsigned int power); |
| 20 | int (*match_fb)(struct plat_lcd_data *, struct fb_info *); |
| 21 | }; |
| 22 | |