diff options
author | Matt Wagner <mwagner@nvidia.com> | 2011-07-22 00:13:08 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:08 -0800 |
commit | e806e28f31c46b73ca965954c717af405376ae8e (patch) | |
tree | c200290c8be995e878209f3b042edb14f0235670 /include | |
parent | 8b385bb3ad43910381a48c53c7d5d4e889213dbd (diff) |
video: backlight: tegra: add callback to tegra_pwm_backlight
tegra-pwm-backlight now has a notify function that enables the
brightness to be passed back to the boardfile where it is modified.
Bug 854820
Original-Change-Id: I1425d801f77987485b58c3cbedae464b5db88444
Reviewed-on: http://git-master/r/42639
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R156ca05e91b04723146628b1b1abcef31a43795a
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_pwm_bl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h index ee924842bf84..68fecb522cfc 100644 --- a/include/linux/tegra_pwm_bl.h +++ b/include/linux/tegra_pwm_bl.h @@ -22,6 +22,7 @@ struct platform_tegra_pwm_backlight_data { unsigned int period; unsigned int clk_div; unsigned int clk_select; + int (*notify)(struct device *dev, int brightness); }; #endif /* TERGA_PWM_BL_H */ |