1#ifndef __LINUX_SPI_CORGI_LCD_H 2#define __LINUX_SPI_CORGI_LCD_H 3 4#define CORGI_LCD_MODE_QVGA 1 5#define CORGI_LCD_MODE_VGA 2 6 7struct corgi_lcd_platform_data { 8 int init_mode; 9 int max_intensity; 10 int default_intensity; 11 int limit_mask; 12 13 int gpio_backlight_on; /* -1 if n/a */ 14 int gpio_backlight_cont; /* -1 if n/a */ 15 16 void (*notify)(int intensity); 17 void (*kick_battery)(void); 18}; 19 20#endif /* __LINUX_SPI_CORGI_LCD_H */ 21