summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2016-08-08 11:54:03 +0800
committerSandor Yu <Sandor.yu@nxp.com>2016-08-08 12:02:02 +0800
commit1c912d2fb457d340c9e41564923841f3691454c0 (patch)
treeca7f2792ba7c154c07d8e6bde9572fefa38e15a6 /include
parent76aeddccdcf663ca83a4ae32e9650eb35a229d9c (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