ACPI: replace acpi_integer by u64
acpi_integer is now obsolete and removed from the ACPICA code base, replaced by u64. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -64,7 +64,7 @@ void ata_acpi_associate_sata_port(struct ata_port *ap)
|
||||
WARN_ON(!(ap->flags & ATA_FLAG_ACPI_SATA));
|
||||
|
||||
if (!sata_pmp_attached(ap)) {
|
||||
acpi_integer adr = SATA_ADR(ap->port_no, NO_PORT_MULT);
|
||||
u64 adr = SATA_ADR(ap->port_no, NO_PORT_MULT);
|
||||
|
||||
ap->link.device->acpi_handle =
|
||||
acpi_get_child(ap->host->acpi_handle, adr);
|
||||
@@ -74,7 +74,7 @@ void ata_acpi_associate_sata_port(struct ata_port *ap)
|
||||
ap->link.device->acpi_handle = NULL;
|
||||
|
||||
ata_for_each_link(link, ap, EDGE) {
|
||||
acpi_integer adr = SATA_ADR(ap->port_no, link->pmp);
|
||||
u64 adr = SATA_ADR(ap->port_no, link->pmp);
|
||||
|
||||
link->device->acpi_handle =
|
||||
acpi_get_child(ap->host->acpi_handle, adr);
|
||||
|
Reference in New Issue
Block a user