diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index ab5a26469707..c73681b7e69e 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -1240,6 +1240,7 @@ acpi_add_single_object(struct acpi_device **child, | |||
1240 | return -ENOMEM; | 1240 | return -ENOMEM; |
1241 | } | 1241 | } |
1242 | 1242 | ||
1243 | device->device_type = type; | ||
1243 | device->handle = handle; | 1244 | device->handle = handle; |
1244 | device->parent = parent; | 1245 | device->parent = parent; |
1245 | device->bus_ops = *ops; /* workround for not call .start */ | 1246 | device->bus_ops = *ops; /* workround for not call .start */ |