aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c
index 1245838ac13d..292fdbc0431a 100644
--- a/drivers/ata/libata-acpi.c
+++ b/drivers/ata/libata-acpi.c
@@ -64,7 +64,7 @@ void ata_acpi_associate_sata_port(struct ata_port *ap)
64 WARN_ON(!(ap->flags & ATA_FLAG_ACPI_SATA)); 64 WARN_ON(!(ap->flags & ATA_FLAG_ACPI_SATA));
65 65
66 if (!sata_pmp_attached(ap)) { 66 if (!sata_pmp_attached(ap)) {
67 acpi_integer adr = SATA_ADR(ap->port_no, NO_PORT_MULT); 67 u64 adr = SATA_ADR(ap->port_no, NO_PORT_MULT);
68 68
69 ap->link.device->acpi_handle = 69 ap->link.device->acpi_handle =
70 acpi_get_child(ap->host->acpi_handle, adr); 70 acpi_get_child(ap->host->acpi_handle, adr);
@@ -74,7 +74,7 @@ void ata_acpi_associate_sata_port(struct ata_port *ap)
74 ap->link.device->acpi_handle = NULL; 74 ap->link.device->acpi_handle = NULL;
75 75
76 ata_for_each_link(link, ap, EDGE) { 76 ata_for_each_link(link, ap, EDGE) {
77 acpi_integer adr = SATA_ADR(ap->port_no, link->pmp); 77 u64 adr = SATA_ADR(ap->port_no, link->pmp);
78 78
79 link->device->acpi_handle = 79 link->device->acpi_handle =
80 acpi_get_child(ap->host->acpi_handle, adr); 80 acpi_get_child(ap->host->acpi_handle, adr);