Commit | Line | Data |
---|---|---|
8b770e3c LP |
1 | /* |
2 | * gpio_backlight.h - Simple GPIO-controlled backlight | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | #ifndef __GPIO_BACKLIGHT_H__ | |
9 | #define __GPIO_BACKLIGHT_H__ | |
10 | ||
11 | struct device; | |
12 | ||
13 | struct gpio_backlight_platform_data { | |
14 | struct device *fbdev; | |
15 | int gpio; | |
16 | int def_value; | |
17 | bool active_low; | |
18 | const char *name; | |
19 | }; | |
20 | ||
21 | #endif |