summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-11-10 17:20:40 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-17 11:46:01 (GMT)
commitcfc3899fcd0b3b990b29d3d33f75f4edf715e7d1 (patch)
tree1b40d611cfba57186fb613ef7e99d3bf33c97ac6 /include
parent5b0582ea427b59bf4e70c892aab0b0ba8fbe2306 (diff)
downloadlinux-cfc3899fcd0b3b990b29d3d33f75f4edf715e7d1.tar.xz
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')
-rw-r--r--include/linux/pwm_backlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h
index 7a9754c..01b3d75 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);
};