[ARM] 5138/1: magician: set pwm-backlight .id = -1
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 30 Jun 2008 17:11:55 +0000 (18:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Jul 2008 20:33:23 +0000 (21:33 +0100)
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>
arch/arm/mach-pxa/magician.c

index 9f249dc726e2c0909af6e3eae5397716fdc58193..bad5821be41a3eae77d2512a6703ac4e345bfe53 100644 (file)
@@ -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,