diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-23 23:35:19 +0200 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-23 23:35:19 +0200 |
commit | 601a1b92ed3ce0025f7bec6fc591cceaef8d9d69 (patch) | |
tree | a09f9680e46b23beb972d8abafdf0c4f6969869c /drivers/leds/leds-hp-disk.c | |
parent | leds: Simplify logic in leds-ams-delta (diff) | |
download | linux-601a1b92ed3ce0025f7bec6fc591cceaef8d9d69.tar.xz linux-601a1b92ed3ce0025f7bec6fc591cceaef8d9d69.zip |
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 '')
-rw-r--r-- | drivers/leds/leds-hp-disk.c | 2 |
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) 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; |