aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index aa6f96720984..d37fb8e81898 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -617,7 +617,7 @@ EXPORT_SYMBOL(acpi_unregister_gsi);
617static int __init acpi_parse_fadt(unsigned long phys_addr, unsigned long size) 617static int __init acpi_parse_fadt(unsigned long phys_addr, unsigned long size)
618{ 618{
619 struct acpi_table_header *fadt_header; 619 struct acpi_table_header *fadt_header;
620 struct fadt_descriptor *fadt; 620 struct acpi_table_fadt *fadt;
621 621
622 if (!phys_addr || !size) 622 if (!phys_addr || !size)
623 return -EINVAL; 623 return -EINVAL;
@@ -626,9 +626,9 @@ static int __init acpi_parse_fadt(unsigned long phys_addr, unsigned long size)
626 if (fadt_header->revision != 3) 626 if (fadt_header->revision != 3)
627 return -ENODEV; /* Only deal with ACPI 2.0 FADT */ 627 return -ENODEV; /* Only deal with ACPI 2.0 FADT */
628 628
629 fadt = (struct fadt_descriptor *)fadt_header; 629 fadt = (struct acpi_table_fadt *)fadt_header;
630 630
631 acpi_register_gsi(fadt->sci_int, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW); 631 acpi_register_gsi(fadt->sci_interrupt, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW);
632 return 0; 632 return 0;
633} 633}
634 634