Skip to content

Commit

Permalink
leds/acpi: Fix merge fallout from acpi_driver_data change
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
  • Loading branch information
Stephen Rothwell authored and Richard Purdie committed Oct 23, 2008
1 parent fbf0bae commit 601a1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-hp-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
adev.device = device;
strcpy(acpi_device_name(device), DRIVER_NAME);
strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
acpi_driver_data(device) = &adev;
device->driver_data = &adev;

ret = led_classdev_register(NULL, &hpled_led);
return ret;
Expand Down

0 comments on commit 601a1b9

Please sign in to comment.