From: Philipp Zabel Date: Mon, 30 Jun 2008 17:11:55 +0000 (+0100) Subject: [ARM] 5138/1: magician: set pwm-backlight .id = -1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=14d1012db8462bbb7139ac4622f92e541d3019d1;p=linux-beck.git [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 Acked-by: Eric Miao Signed-off-by: Russell King --- 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,