aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/magician.c
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-06-30 13:11:55 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 16:33:23 -0400
commit14d1012db8462bbb7139ac4622f92e541d3019d1 (patch)
tree4036037d3e50d89bf860120824166dd6b03c1d65 /arch/arm/mach-pxa/magician.c
parentd0f7f1dff01698d228dc108895fbb9b13af37dab (diff)
[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/mach-pxa/magician.c')
-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 9f249dc726e2..bad5821be41a 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 = {
397 397
398static struct platform_device backlight = { 398static struct platform_device backlight = {
399 .name = "pwm-backlight", 399 .name = "pwm-backlight",
400 .id = -1,
400 .dev = { 401 .dev = {
401 .parent = &pxa27x_device_pwm0.dev, 402 .parent = &pxa27x_device_pwm0.dev,
402 .platform_data = &backlight_data, 403 .platform_data = &backlight_data,