diff --git a/[refs] b/[refs] index ac06a9753f1c..ada2a20a530d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 66b7ed40aaf153d634aabff409a0dda675f37f45 +refs/heads/master: caaa6efb3d82d0102db9e7094ca5773c46e6780c diff --git a/trunk/drivers/acpi/scan.c b/trunk/drivers/acpi/scan.c index ab5a26469707..c73681b7e69e 100644 --- a/trunk/drivers/acpi/scan.c +++ b/trunk/drivers/acpi/scan.c @@ -1240,6 +1240,7 @@ acpi_add_single_object(struct acpi_device **child, return -ENOMEM; } + device->device_type = type; device->handle = handle; device->parent = parent; device->bus_ops = *ops; /* workround for not call .start */ diff --git a/trunk/include/acpi/acpi_bus.h b/trunk/include/acpi/acpi_bus.h index 1cef1398e358..8456e8cbf9fd 100644 --- a/trunk/include/acpi/acpi_bus.h +++ b/trunk/include/acpi/acpi_bus.h @@ -262,7 +262,8 @@ struct acpi_device_wakeup { /* Device */ struct acpi_device { - acpi_handle handle; + int device_type; + acpi_handle handle; /* no handle for fixed hardware */ struct acpi_device *parent; struct list_head children; struct list_head node;