From: Andrew Morton Date: Wed, 5 Oct 2011 00:42:20 +0000 (+1100) Subject: include/linux/dmar.h: forward-declare struct acpi_dmar_header X-Git-Tag: next-20111007~1^2~285 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3a97cca7d5661a73a05bcdb5327a92d4451d3aad;p=karo-tx-linux.git include/linux/dmar.h: forward-declare struct acpi_dmar_header x86_64 allnoconfig: In file included from arch/x86/kernel/pci-dma.c:3: include/linux/dmar.h:248: warning: 'struct acpi_dmar_header' declared inside parameter list include/linux/dmar.h:248: warning: its scope is only this definition or declaration, which is probably not what you want Cc: Suresh Siddha Cc: Ingo Molnar Signed-off-by: Andrew Morton --- diff --git a/include/linux/dmar.h b/include/linux/dmar.h index a8b1a847c103..731a60975101 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h @@ -26,6 +26,8 @@ #include #include +struct acpi_dmar_header; + /* DMAR Flags */ #define DMAR_INTR_REMAP 0x1 #define DMAR_X2APIC_OPT_OUT 0x2