drm/radeon/kms: memset the allocated framebuffer before using it.
[linux-2.6/mini2440.git] / include / video / platform_lcd.h
blobad3bdfe743b294372df1689aca5ac393119ff595
1 /* include/video/platform_lcd.h
3 * Copyright 2008 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Generic platform-device LCD power control interface.
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.
14 struct plat_lcd_data;
15 struct fb_info;
17 struct 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 *);