summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-06-30 19:11:55 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 22:33:23 +0200
commit14d1012db8462bbb7139ac4622f92e541d3019d1 (patch)
tree4036037d3e50d89bf860120824166dd6b03c1d65 /arch/arm/mach-pxa
parent[ARM] 5137/1: magician: MACH_MAGICIAN doesn't need to depend on ARCH_PXA (diff)
downloadlinux-14d1012db8462bbb7139ac4622f92e541d3019d1.tar.xz
linux-14d1012db8462bbb7139ac4622f92e541d3019d1.zip
[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')
-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 = {
static struct platform_device backlight = {
.name = "pwm-backlight",
+ .id = -1,
.dev = {
.parent = &pxa27x_device_pwm0.dev,
.platform_data = &backlight_data,