diff options
| -rw-r--r-- | drivers/acpi/power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index f962047c6c85..288bb270f8ed 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
| @@ -885,6 +885,7 @@ int acpi_add_power_resource(acpi_handle handle) | |||
| 885 | ACPI_STA_DEFAULT); | 885 | ACPI_STA_DEFAULT); |
| 886 | mutex_init(&resource->resource_lock); | 886 | mutex_init(&resource->resource_lock); |
| 887 | INIT_LIST_HEAD(&resource->dependent); | 887 | INIT_LIST_HEAD(&resource->dependent); |
| 888 | INIT_LIST_HEAD(&resource->list_node); | ||
| 888 | resource->name = device->pnp.bus_id; | 889 | resource->name = device->pnp.bus_id; |
| 889 | strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME); | 890 | strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME); |
| 890 | strcpy(acpi_device_class(device), ACPI_POWER_CLASS); | 891 | strcpy(acpi_device_class(device), ACPI_POWER_CLASS); |
