Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31992
b: refs/heads/master
c: 3b74863
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Jun 30, 2006
1 parent da2b90a commit af5333f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af96179a8298832cc58be212d0e4988d8a1e11bf
refs/heads/master: 3b74863df5d46f794052b5ee010cfc8fd66819dd
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/acpi_memhotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ struct acpi_memory_info {

struct acpi_memory_device {
acpi_handle handle;
struct acpi_device * device;
unsigned int state; /* State of the memory device */
struct list_head res_list;
};
Expand Down Expand Up @@ -399,6 +400,7 @@ static int acpi_memory_device_add(struct acpi_device *device)

INIT_LIST_HEAD(&mem_device->res_list);
mem_device->handle = device->handle;
mem_device->device = device;
sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME);
sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS);
acpi_driver_data(device) = mem_device;
Expand Down

0 comments on commit af5333f

Please sign in to comment.