diff options
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index bb0e0da39fb1..6b3b8a522476 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -302,7 +302,7 @@ static void acpi_device_shutdown(struct device *dev) | |||
302 | return ; | 302 | return ; |
303 | } | 303 | } |
304 | 304 | ||
305 | static struct bus_type acpi_bus_type = { | 305 | struct bus_type acpi_bus_type = { |
306 | .name = "acpi", | 306 | .name = "acpi", |
307 | .suspend = acpi_device_suspend, | 307 | .suspend = acpi_device_suspend, |
308 | .resume = acpi_device_resume, | 308 | .resume = acpi_device_resume, |
@@ -1068,7 +1068,9 @@ acpi_add_single_object(struct acpi_device **child, | |||
1068 | } | 1068 | } |
1069 | break; | 1069 | break; |
1070 | default: | 1070 | default: |
1071 | STRUCT_TO_INT(device->status) = 0x0F; | 1071 | STRUCT_TO_INT(device->status) = |
1072 | ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED | | ||
1073 | ACPI_STA_DEVICE_UI | ACPI_STA_DEVICE_FUNCTIONING; | ||
1072 | break; | 1074 | break; |
1073 | } | 1075 | } |
1074 | 1076 | ||