[ARM] 5138/1: magician: set pwm-backlight .id = -1
authorPhilipp Zabel <[email protected]>
Mon, 30 Jun 2008 17:11:55 +0000 (18:11 +0100)
committerRussell King <[email protected]>
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 <[email protected]>
Acked-by: Eric Miao <[email protected]>
Signed-off-by: Russell King <[email protected]>
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,