[PATCH] ia64/acpi: Fix incorrect callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A previous commit to make acpi table parsing more common to variable
header types modified a callback type that was not intended to be
included. Fix the callback parameter.

Fixes: commit 088d0b345be1952b ("acpi: Create subtable parsing infrastructure")
Signed-off-by: Keith Busch <keith.busch@xxxxxxxxx>
---
 arch/ia64/kernel/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index ccb9a6385208..1435e7a1a8cd 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -378,7 +378,7 @@ static void __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
 	}
 }
 
-static int __init acpi_parse_madt(union acpi_subtable_headers *table)
+static int __init acpi_parse_madt(struct acpi_table_header *table)
 {
 	acpi_madt = (struct acpi_table_madt *)table;
 
-- 
2.14.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux