diff options
author | Kevin Huang <kevinh@nvidia.com> | 2011-09-13 16:26:40 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:21:17 -0700 |
commit | 1d938d298ec884d9c76271ad2485b9f755306d8d (patch) | |
tree | 90395e1bbe0b514a9567fdf181b7aa67907ba7ad /include/linux/tegra_pwm_bl.h | |
parent | e2b93c11ef4800f814eb10d8ac20c9ef9143c887 (diff) |
video: backlight: tegra: Add check_fb hook.
Bug 873860
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>
(cherry picked from commit 92ec78210ee1526dc2c35b7775674105aa6f729b)
Change-Id: If8b1f7af86574af2158609742bc8e18a2585ad36
Reviewed-on: http://git-master/r/61607
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rc3d4771e2f1c7250e7f8eacedfd7dad1790441b5
Diffstat (limited to 'include/linux/tegra_pwm_bl.h')
-rw-r--r-- | include/linux/tegra_pwm_bl.h | 3 |
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 */ |