Skip to content

Commit

Permalink
[ARM] 5138/1: magician: set pwm-backlight .id = -1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philipp Zabel authored and Russell King committed Jul 9, 2008
1 parent d0f7f1d commit 14d1012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 14d1012

Please sign in to comment.