diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2008-06-30 17:11:55 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-09 20:33:23 (GMT) |
commit | 14d1012db8462bbb7139ac4622f92e541d3019d1 (patch) | |
tree | 4036037d3e50d89bf860120824166dd6b03c1d65 /arch/arm | |
parent | d0f7f1dff01698d228dc108895fbb9b13af37dab (diff) | |
download | linux-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.c | 1 |
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, |