File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -385,19 +385,12 @@ static unsigned char acpiphp_max_busnr(struct pci_bus *bus)
385
385
static void acpiphp_set_acpi_region (struct acpiphp_slot * slot )
386
386
{
387
387
struct acpiphp_func * func ;
388
- union acpi_object params [2 ];
389
- struct acpi_object_list arg_list ;
390
388
391
389
list_for_each_entry (func , & slot -> funcs , sibling ) {
392
- arg_list .count = 2 ;
393
- arg_list .pointer = params ;
394
- params [0 ].type = ACPI_TYPE_INTEGER ;
395
- params [0 ].integer .value = ACPI_ADR_SPACE_PCI_CONFIG ;
396
- params [1 ].type = ACPI_TYPE_INTEGER ;
397
- params [1 ].integer .value = 1 ;
398
390
/* _REG is optional, we don't care about if there is failure */
399
- acpi_evaluate_object (func_to_handle (func ), "_REG" , & arg_list ,
400
- NULL );
391
+ acpi_evaluate_reg (func_to_handle (func ),
392
+ ACPI_ADR_SPACE_PCI_CONFIG ,
393
+ ACPI_REG_CONNECT );
401
394
}
402
395
}
403
396
You can’t perform that action at this time.
0 commit comments