eric miao | 42796d3 | 2008-04-14 09:35:08 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Generic PWM backlight driver data - see drivers/video/backlight/pwm_bl.c |
| 3 | */ |
| 4 | #ifndef __LINUX_PWM_BACKLIGHT_H |
| 5 | #define __LINUX_PWM_BACKLIGHT_H |
| 6 | |
| 7 | struct platform_pwm_backlight_data { |
| 8 | int pwm_id; |
| 9 | unsigned int max_brightness; |
| 10 | unsigned int dft_brightness; |
| 11 | unsigned int pwm_period_ns; |
Philipp Zabel | 3b73125 | 2008-05-22 14:18:40 +0100 | [diff] [blame] | 12 | int (*init)(struct device *dev); |
Ben Dooks | cfc3899 | 2009-11-10 17:20:40 +0000 | [diff] [blame] | 13 | int (*notify)(struct device *dev, int brightness); |
Philipp Zabel | 3b73125 | 2008-05-22 14:18:40 +0100 | [diff] [blame] | 14 | void (*exit)(struct device *dev); |
eric miao | 42796d3 | 2008-04-14 09:35:08 +0100 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | #endif |