aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-05-22 09:18:40 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-03 08:25:05 -0400
commit3b73125af69f93972625f4b655675f42ca4274eb (patch)
tree95ae990ed5475269c106060bf1751f5aeea95532 /include
parent4a73071947d21f3aa39fa3a4bac104aaab94cfca (diff)
[ARM] 5044/1: pwm_bl: add init/notify/exit callbacks
This allows platform code to manipulate GPIOs and brightness level as needed. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pwm_backlight.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h
index aeeffedbe822..7a9754c96775 100644
--- a/include/linux/pwm_backlight.h
+++ b/include/linux/pwm_backlight.h
@@ -9,6 +9,9 @@ struct platform_pwm_backlight_data {
9 unsigned int max_brightness; 9 unsigned int max_brightness;
10 unsigned int dft_brightness; 10 unsigned int dft_brightness;
11 unsigned int pwm_period_ns; 11 unsigned int pwm_period_ns;
12 int (*init)(struct device *dev);
13 int (*notify)(int brightness);
14 void (*exit)(struct device *dev);
12}; 15};
13 16
14#endif 17#endif