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-Tag: v2.6.27-rc1~850^2^2~18^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14d1012db8462bbb7139ac4622f92e541d3019d1;p=linux-2.6-omap-h63xx.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 9f249dc726e..bad5821be41 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,