aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/pci-acpi.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
index 06e0b41c397e..e514d50eaddc 100644
--- a/drivers/pci/pci-acpi.c
+++ b/drivers/pci/pci-acpi.c
@@ -99,8 +99,8 @@ phys_addr_t acpi_pci_root_get_mcfg_addr(acpi_handle handle)
99 return (phys_addr_t)mcfg_addr; 99 return (phys_addr_t)mcfg_addr;
100} 100}
101 101
102static acpi_status 102static acpi_status decode_type0_hpx_record(union acpi_object *record,
103decode_type0_hpx_record(union acpi_object *record, struct hotplug_params *hpx) 103 struct hotplug_params *hpx)
104{ 104{
105 int i; 105 int i;
106 union acpi_object *fields = record->package.elements; 106 union acpi_object *fields = record->package.elements;
@@ -129,8 +129,8 @@ decode_type0_hpx_record(union acpi_object *record, struct hotplug_params *hpx)
129 return AE_OK; 129 return AE_OK;
130} 130}
131 131
132static acpi_status 132static acpi_status decode_type1_hpx_record(union acpi_object *record,
133decode_type1_hpx_record(union acpi_object *record, struct hotplug_params *hpx) 133 struct hotplug_params *hpx)
134{ 134{
135 int i; 135 int i;
136 union acpi_object *fields = record->package.elements; 136 union acpi_object *fields = record->package.elements;
@@ -158,8 +158,8 @@ decode_type1_hpx_record(union acpi_object *record, struct hotplug_params *hpx)
158 return AE_OK; 158 return AE_OK;
159} 159}
160 160
161static acpi_status 161static acpi_status decode_type2_hpx_record(union acpi_object *record,
162decode_type2_hpx_record(union acpi_object *record, struct hotplug_params *hpx) 162 struct hotplug_params *hpx)
163{ 163{
164 int i; 164 int i;
165 union acpi_object *fields = record->package.elements; 165 union acpi_object *fields = record->package.elements;
@@ -200,8 +200,7 @@ decode_type2_hpx_record(union acpi_object *record, struct hotplug_params *hpx)
200 return AE_OK; 200 return AE_OK;
201} 201}
202 202
203static acpi_status 203static acpi_status acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx)
204acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx)
205{ 204{
206 acpi_status status; 205 acpi_status status;
207 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; 206 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL};
@@ -265,8 +264,7 @@ acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx)
265 return status; 264 return status;
266} 265}
267 266
268static acpi_status 267static acpi_status acpi_run_hpp(acpi_handle handle, struct hotplug_params *hpp)
269acpi_run_hpp(acpi_handle handle, struct hotplug_params *hpp)
270{ 268{
271 acpi_status status; 269 acpi_status status;
272 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; 270 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };