summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-06-30 17:11:55 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 20:33:23 (GMT)
commit14d1012db8462bbb7139ac4622f92e541d3019d1 (patch)
tree4036037d3e50d89bf860120824166dd6b03c1d65 /arch/arm
parentd0f7f1dff01698d228dc108895fbb9b13af37dab (diff)
downloadlinux-14d1012db8462bbb7139ac4622f92e541d3019d1.tar.xz
[ARM] 5138/1: magician: set pwm-backlight .id = -1
There will always be only one pwm-backlight on this device. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-pxa/magician.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c
index 9f249dc..bad5821 100644
--- a/arch/arm/mach-pxa/magician.c
+++ b/arch/arm/mach-pxa/magician.c
@@ -397,6 +397,7 @@ static struct platform_pwm_backlight_data backlight_data = {
static struct platform_device backlight = {
.name = "pwm-backlight",
+ .id = -1,
.dev = {
.parent = &pxa27x_device_pwm0.dev,
.platform_data = &backlight_data,