]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/eeepc-laptop.c
Merge branch 'misc' into test
[linux-2.6-omap-h63xx.git] / drivers / misc / eeepc-laptop.c
index 5baa10bcaf6d5e5451075a94bc995f71fc1ad15c..7b39e0f0f1be6cac4d8b33903e834d07ec240a96 100644 (file)
@@ -554,7 +554,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
        ehotk->handle = device->handle;
        strcpy(acpi_device_name(device), EEEPC_HOTK_DEVICE_NAME);
        strcpy(acpi_device_class(device), EEEPC_HOTK_CLASS);
-       acpi_driver_data(device) = ehotk;
+       device->driver_data = ehotk;
        ehotk->device = device;
        result = eeepc_hotk_check();
        if (result)