summaryrefslogtreecommitdiff
path: root/src/acpi/acpi_dmar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpi_dmar.c')
-rw-r--r--src/acpi/acpi_dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acpi/acpi_dmar.c b/src/acpi/acpi_dmar.c
index 9a5ebedbb1..3853142b16 100644
--- a/src/acpi/acpi_dmar.c
+++ b/src/acpi/acpi_dmar.c
@@ -183,7 +183,7 @@ unsigned long acpi_create_dmar_ds_ioapic(unsigned long current,
unsigned long acpi_create_dmar_ds_ioapic_from_hw(unsigned long current,
u32 addr, u8 bus, u8 dev, u8 fn)
{
- u8 enumeration_id = get_ioapic_id((void *)(uintptr_t)addr);
+ u8 enumeration_id = get_ioapic_id((uintptr_t)addr);
return acpi_create_dmar_ds(current,
SCOPE_IOAPIC, enumeration_id, bus, dev, fn);
}