Selaa lähdekoodia

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>
Stephen Rothwell 16 vuotta sitten
vanhempi
commit
601a1b92ed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      drivers/leds/leds-hp-disk.c

+ 1 - 1
drivers/leds/leds-hp-disk.c

@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
 	adev.device = device;
 	adev.device = device;
 	strcpy(acpi_device_name(device), DRIVER_NAME);
 	strcpy(acpi_device_name(device), DRIVER_NAME);
 	strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
 	strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
-	acpi_driver_data(device) = &adev;
+	device->driver_data = &adev;
 
 
 	ret = led_classdev_register(NULL, &hpled_led);
 	ret = led_classdev_register(NULL, &hpled_led);
 	return ret;
 	return ret;