]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/pcc-acpi/pcc-acpi.c
pcc-acpi: fix compile with new stricter ACPI types
[linux-2.6-omap-h63xx.git] / drivers / staging / pcc-acpi / pcc-acpi.c
index 7715c31f2731e8398ece88e4cd61c49e236a93d3..3b34a3e4885a25edaf0552661426bde0dbdfd697 100644 (file)
@@ -1011,7 +1011,7 @@ static int __devinit acpi_pcc_hotkey_add(struct acpi_device *device)
        hotkey->device   = device;
        hotkey->handle   = device->handle;
        hotkey->num_sifr = num_sifr;
-       acpi_driver_data(device) = hotkey;
+       device->driver_data = hotkey;
        strcpy(acpi_device_name(device),  ACPI_PCC_DEVICE_NAME);
        strcpy(acpi_device_class(device), ACPI_PCC_CLASS);