2 * Generic PWM backlight driver data - see drivers/video/backlight/pwm_bl.c
4 #ifndef __LINUX_MAX8831_BACKLIGHT_H
5 #define __LINUX_PWM8831_BACKLIGHT_H
7 #include <linux/backlight.h>
9 struct platform_max8831_backlight_data {
12 unsigned int max_brightness;
13 unsigned int dft_brightness;
14 int (*notify)(struct device *dev, int brightness);
15 bool (*is_powered)(void);