summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/palmtc.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/palmtc.c
parent548c6af4627f4dcb24512a381193206e09bd6d31 (diff)
downloadop-kernel-dev-2d51a521e64f91e42424b291fcae49d4d3f63d88.zip
op-kernel-dev-2d51a521e64f91e42424b291fcae49d4d3f63d88.tar.gz
[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/palmtc.c')
-rw-r--r--arch/arm/mach-pxa/palmtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palmtc.c b/arch/arm/mach-pxa/palmtc.c
index 3084175..b992f07 100644
--- a/arch/arm/mach-pxa/palmtc.c
+++ b/arch/arm/mach-pxa/palmtc.c
@@ -185,7 +185,7 @@ err:
return ret;
}
-static int palmtc_backlight_notify(int brightness)
+static int palmtc_backlight_notify(struct device *dev, int brightness)
{
/* backlight is on when GPIO16 AF0 is high */
gpio_set_value(GPIO_NR_PALMTC_BL_POWER, brightness);
OpenPOWER on IntegriCloud