diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 04:42:01 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 04:42:01 +0100 |
commit | 2d51a521e64f91e42424b291fcae49d4d3f63d88 (patch) | |
tree | 5f165f10ad8ce9660ee0789b887628dcca1eac21 /arch/arm/mach-pxa/magician.c | |
parent | [ARM] pxa: enable L2 if present in XSC3 (diff) | |
download | linux-2d51a521e64f91e42424b291fcae49d4d3f63d88.tar.xz linux-2d51a521e64f91e42424b291fcae49d4d3f63d88.zip |
[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/magician.c')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 8a38d604dc77..189f330719a2 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -381,7 +381,7 @@ err: return ret; } -static int magician_backlight_notify(int brightness) +static int magician_backlight_notify(struct device *dev, int brightness) { gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); if (brightness >= 200) { |