summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2011-09-13 16:26:40 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-09-14 14:34:12 -0700
commit92ec78210ee1526dc2c35b7775674105aa6f729b (patch)
treefa3833984321afa75171ef95824a7c4c3aea1f97 /include
parent5d171387f978f5b420b5ed8cfb6c60365f8bddc8 (diff)
video: backlight: tegra: Add check_fb hook.
Bug 873860 Change-Id: Ia29a74689c150fec782e91884bd4116bd89f253c Reviewed-on: http://git-master/r/52135 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_pwm_bl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h
index 68fecb522cfc..71a81f2eda88 100644
--- a/include/linux/tegra_pwm_bl.h
+++ b/include/linux/tegra_pwm_bl.h
@@ -12,6 +12,8 @@
#ifndef TEGRA_PWM_BL_H
#define TEGRA_PWM_BL_H
+#include <linux/backlight.h>
+
struct platform_tegra_pwm_backlight_data {
int which_dc;
int which_pwm;
@@ -23,6 +25,7 @@ struct platform_tegra_pwm_backlight_data {
unsigned int clk_div;
unsigned int clk_select;
int (*notify)(struct device *dev, int brightness);
+ int (*check_fb)(struct device *dev, struct fb_info *info);
};
#endif /* TERGA_PWM_BL_H */