diff options
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index ff1b1c71291a..cf22f9e01e00 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -102,7 +102,7 @@ static int is_ejectable(acpi_handle handle) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | 104 | ||
105 | /* callback routine to check the existence of ejectable slots */ | 105 | /* callback routine to check for the existence of ejectable slots */ |
106 | static acpi_status | 106 | static acpi_status |
107 | is_ejectable_slot(acpi_handle handle, u32 lvl, void *context, void **rv) | 107 | is_ejectable_slot(acpi_handle handle, u32 lvl, void *context, void **rv) |
108 | { | 108 | { |
@@ -117,7 +117,7 @@ is_ejectable_slot(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
117 | } | 117 | } |
118 | } | 118 | } |
119 | 119 | ||
120 | /* callback routine to check for the existance of a pci dock device */ | 120 | /* callback routine to check for the existence of a pci dock device */ |
121 | static acpi_status | 121 | static acpi_status |
122 | is_pci_dock_device(acpi_handle handle, u32 lvl, void *context, void **rv) | 122 | is_pci_dock_device(acpi_handle handle, u32 lvl, void *context, void **rv) |
123 | { | 123 | { |
@@ -1528,7 +1528,6 @@ check_sub_bridges(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
1528 | acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); | 1528 | acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); |
1529 | dbg("%s: re-enumerating slots under %s\n", | 1529 | dbg("%s: re-enumerating slots under %s\n", |
1530 | __FUNCTION__, objname); | 1530 | __FUNCTION__, objname); |
1531 | acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); | ||
1532 | acpiphp_check_bridge(bridge); | 1531 | acpiphp_check_bridge(bridge); |
1533 | } | 1532 | } |
1534 | return AE_OK ; | 1533 | return AE_OK ; |