projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM] 5044/1: pwm_bl: add init/notify/exit callbacks
[GitHub/LineageOS/android_kernel_samsung_universal7580.git]
/
include
/
linux
/
pwm_backlight.h
diff --git
a/include/linux/pwm_backlight.h
b/include/linux/pwm_backlight.h
index aeeffedbe8224d8afbaffd792d11e7e31a23d215..7a9754c96775091d1ac9ef9c002682e29c38ca88 100644
(file)
--- a/
include/linux/pwm_backlight.h
+++ b/
include/linux/pwm_backlight.h
@@
-9,6
+9,9
@@
struct platform_pwm_backlight_data {
unsigned int max_brightness;
unsigned int dft_brightness;
unsigned int pwm_period_ns;
+ int (*init)(struct device *dev);
+ int (*notify)(int brightness);
+ void (*exit)(struct device *dev);
};
#endif