aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-hp-disk.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-10-23 17:35:19 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2008-10-23 17:35:19 -0400
commit601a1b92ed3ce0025f7bec6fc591cceaef8d9d69 (patch)
treea09f9680e46b23beb972d8abafdf0c4f6969869c /drivers/leds/leds-hp-disk.c
parentfbf0baee84cd31d3a800010139fcd01b8b11cbf9 (diff)
leds/acpi: Fix merge fallout from acpi_driver_data change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/leds/leds-hp-disk.c')
-rw-r--r--drivers/leds/leds-hp-disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-hp-disk.c b/drivers/leds/leds-hp-disk.c
index d636280198ab..53a25b1c2dae 100644
--- a/drivers/leds/leds-hp-disk.c
+++ b/drivers/leds/leds-hp-disk.c
@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
98 adev.device = device; 98 adev.device = device;
99 strcpy(acpi_device_name(device), DRIVER_NAME); 99 strcpy(acpi_device_name(device), DRIVER_NAME);
100 strcpy(acpi_device_class(device), ACPI_MDPS_CLASS); 100 strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
101 acpi_driver_data(device) = &adev; 101 device->driver_data = &adev;
102 102
103 ret = led_classdev_register(NULL, &hpled_led); 103 ret = led_classdev_register(NULL, &hpled_led);
104 return ret; 104 return ret;