diff --git a/drivers/staging/pcc-acpi/pcc-acpi.c b/drivers/staging/pcc-acpi/pcc-acpi.c index 7715c31f2731e8398ece88e4cd61c49e236a93d3..3b34a3e4885a25edaf0552661426bde0dbdfd697 100644 --- a/drivers/staging/pcc-acpi/pcc-acpi.c +++ b/drivers/staging/pcc-acpi/pcc-acpi.c @@ -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);