diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-11-10 17:20:40 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-17 11:46:01 +0000 |
commit | cfc3899fcd0b3b990b29d3d33f75f4edf715e7d1 (patch) | |
tree | 1b40d611cfba57186fb613ef7e99d3bf33c97ac6 /include/linux | |
parent | 5b0582ea427b59bf4e70c892aab0b0ba8fbe2306 (diff) |
backlight: Pass device through notify callback in the pwm driver
Add the device to the notify callback's arguments in the PWM backlight
driver. This brings the notify callback into line with the other
callbacks defined by this driver.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pwm_backlight.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h index 7a9754c9677..01b3d759f1f 100644 --- a/include/linux/pwm_backlight.h +++ b/include/linux/pwm_backlight.h @@ -10,7 +10,7 @@ struct platform_pwm_backlight_data { unsigned int dft_brightness; unsigned int pwm_period_ns; int (*init)(struct device *dev); - int (*notify)(int brightness); + int (*notify)(struct device *dev, int brightness); void (*exit)(struct device *dev); }; |