summaryrefslogtreecommitdiff
path: root/include/linux/pwm_backlight.h
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2016-08-08 11:54:03 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitd4110f32662d717c0afe113a22dc442104330b8f (patch)
tree52fa444d8e34c520b0bd2d57edb8ee5c0b9c3140 /include/linux/pwm_backlight.h
parent9b36266191a98dc5a4f0a6dcbf00dccd6367fa99 (diff)
MLK-12932-01: pwm backlight: Add fb name check feature
Add fb name check function pwm_backlight_check_fb_name(), pwm driver can banding to fb with fb name when driver working in device tree architecture. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Diffstat (limited to 'include/linux/pwm_backlight.h')
-rw-r--r--include/linux/pwm_backlight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h
index efdd9227a49c..3619c9a260b6 100644
--- a/include/linux/pwm_backlight.h
+++ b/include/linux/pwm_backlight.h
@@ -20,6 +20,7 @@ struct platform_pwm_backlight_data {
void (*notify_after)(struct device *dev, int brightness);
void (*exit)(struct device *dev);
int (*check_fb)(struct device *dev, struct fb_info *info);
+ char fb_id[16];
};
#endif