Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32015
b: refs/heads/master
c: 432bfab
h: refs/heads/master
i:
  32013: 1a1c463
  32011: 2aa3a84
  32007: 9becfab
  31999: ed5d477
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Jun 30, 2006
1 parent f82c33d commit 3551959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0e4e117d4c898b0df749d5b88c86955151abf53
refs/heads/master: 432bfaba7d4e70483fc5af164e020066f4921bff
4 changes: 1 addition & 3 deletions trunk/drivers/acpi/pci_root.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ static struct acpi_driver acpi_pci_root_driver = {

struct acpi_pci_root {
struct list_head node;
acpi_handle handle;
struct acpi_device * device;
struct acpi_pci_id id;
struct pci_bus *bus;
Expand Down Expand Up @@ -171,7 +170,6 @@ static int acpi_pci_root_add(struct acpi_device *device)
memset(root, 0, sizeof(struct acpi_pci_root));
INIT_LIST_HEAD(&root->node);

root->handle = device->handle;
root->device = device;
strcpy(acpi_device_name(device), ACPI_PCI_ROOT_DEVICE_NAME);
strcpy(acpi_device_class(device), ACPI_PCI_ROOT_CLASS);
Expand Down Expand Up @@ -317,7 +315,7 @@ static int acpi_pci_root_start(struct acpi_device *device)


list_for_each_entry(root, &acpi_pci_roots, node) {
if (root->handle == device->handle) {
if (root->device == device) {
pci_bus_add_devices(root->bus);
return 0;
}
Expand Down

0 comments on commit 3551959

Please sign in to comment.