diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 11:42:01 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 11:42:01 +0800 |
commit | 2d51a521e64f91e42424b291fcae49d4d3f63d88 (patch) | |
tree | 5f165f10ad8ce9660ee0789b887628dcca1eac21 /arch/arm/mach-pxa/palmtx.c | |
parent | 548c6af4627f4dcb24512a381193206e09bd6d31 (diff) |
[ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *'
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/palmtx.c')
-rw-r--r-- | arch/arm/mach-pxa/palmtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palmtx.c b/arch/arm/mach-pxa/palmtx.c index 7bf18c2f002f..b37a025c0b7b 100644 --- a/arch/arm/mach-pxa/palmtx.c +++ b/arch/arm/mach-pxa/palmtx.c @@ -269,7 +269,7 @@ err: return ret; } -static int palmtx_backlight_notify(int brightness) +static int palmtx_backlight_notify(struct device *dev, int brightness) { gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness); |