aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/palmte2.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-01-04 11:42:01 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-01-04 11:42:01 +0800
commit2d51a521e64f91e42424b291fcae49d4d3f63d88 (patch)
tree5f165f10ad8ce9660ee0789b887628dcca1eac21 /arch/arm/mach-pxa/palmte2.c
parent[ARM] pxa: enable L2 if present in XSC3 (diff)
downloadlinux-dev-2d51a521e64f91e42424b291fcae49d4d3f63d88.tar.xz
linux-dev-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/palmte2.c')
-rw-r--r--arch/arm/mach-pxa/palmte2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palmte2.c b/arch/arm/mach-pxa/palmte2.c
index 265d62bae7de..dc728d6ab94e 100644
--- a/arch/arm/mach-pxa/palmte2.c
+++ b/arch/arm/mach-pxa/palmte2.c
@@ -181,7 +181,7 @@ err:
return ret;
}
-static int palmte2_backlight_notify(int brightness)
+static int palmte2_backlight_notify(struct device *dev, int brightness)
{
gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness);
gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness);