From c6b3cd0903bb29bca54daa83c183d6f20ee6bc90 Mon Sep 17 00:00:00 2001 From: Matt Wagner Date: Fri, 22 Jul 2011 00:13:08 -0700 Subject: 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 Change-Id: I1425d801f77987485b58c3cbedae464b5db88444 Reviewed-on: http://git-master/r/42639 Reviewed-by: Varun Colbert Tested-by: Varun Colbert --- include/linux/tegra_pwm_bl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3