diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pwm_backlight.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h index e031e1a486d9..5e3e25a3c9c3 100644 --- a/include/linux/pwm_backlight.h +++ b/include/linux/pwm_backlight.h | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | #ifndef __LINUX_PWM_BACKLIGHT_H | 4 | #ifndef __LINUX_PWM_BACKLIGHT_H |
| 5 | #define __LINUX_PWM_BACKLIGHT_H | 5 | #define __LINUX_PWM_BACKLIGHT_H |
| 6 | 6 | ||
| 7 | #include <linux/backlight.h> | ||
| 8 | |||
| 7 | struct platform_pwm_backlight_data { | 9 | struct platform_pwm_backlight_data { |
| 8 | int pwm_id; | 10 | int pwm_id; |
| 9 | unsigned int max_brightness; | 11 | unsigned int max_brightness; |
| @@ -13,6 +15,7 @@ struct platform_pwm_backlight_data { | |||
| 13 | int (*init)(struct device *dev); | 15 | int (*init)(struct device *dev); |
| 14 | int (*notify)(struct device *dev, int brightness); | 16 | int (*notify)(struct device *dev, int brightness); |
| 15 | void (*exit)(struct device *dev); | 17 | void (*exit)(struct device *dev); |
| 18 | int (*check_fb)(struct device *dev, struct fb_info *info); | ||
| 16 | }; | 19 | }; |
| 17 | 20 | ||
| 18 | #endif | 21 | #endif |
