ACPICA: Fix acpi_os_read_pci_configuration prototype
Prototype in acpiosxf.h had the output value pointer as a (u32 *). Should be a (u64 *). Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Esse commit está contido em:
@@ -353,7 +353,6 @@ acpi_ex_pci_config_space_handler(u32 function,
|
||||
acpi_status status = AE_OK;
|
||||
struct acpi_pci_id *pci_id;
|
||||
u16 pci_register;
|
||||
u32 value32;
|
||||
|
||||
ACPI_FUNCTION_TRACE(ex_pci_config_space_handler);
|
||||
|
||||
@@ -381,8 +380,7 @@ acpi_ex_pci_config_space_handler(u32 function,
|
||||
case ACPI_READ:
|
||||
|
||||
status = acpi_os_read_pci_configuration(pci_id, pci_register,
|
||||
&value32, bit_width);
|
||||
*value = value32;
|
||||
value, bit_width);
|
||||
break;
|
||||
|
||||
case ACPI_WRITE:
|
||||
|
Referência em uma nova issue
Block a user