summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2016-08-08 11:54:03 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-08 19:24:12 +0800
commit022a8efe9181b2fda82a416f8cf141b4568150bb (patch)
treecbde20b3ff72923864e30aa34e75665b7f7384f4 /include
parent30a720fcfd0a5f48d927f57e1612ca0bb110e45f (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')
-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