summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-10-31 17:06:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 17:30:44 -0700
commit6eea69dd8befeabd3d0f217400f54b157dd91fe9 (patch)
treec46d983c78874bf993a14dd87022b4b526be1ab6 /include
parent07a723097cd31e9c2def69ac4d42834a16f79219 (diff)
downloadlinux-3.10-6eea69dd8befeabd3d0f217400f54b157dd91fe9.tar.gz
linux-3.10-6eea69dd8befeabd3d0f217400f54b157dd91fe9.tar.bz2
linux-3.10-6eea69dd8befeabd3d0f217400f54b157dd91fe9.zip
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 <suresh.b.siddha@intel.com> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dmar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h
index a8b1a847c10..731a6097510 100644
--- a/include/linux/dmar.h
+++ b/include/linux/dmar.h
@@ -26,6 +26,8 @@
#include <linux/msi.h>
#include <linux/irqreturn.h>
+struct acpi_dmar_header;
+
/* DMAR Flags */
#define DMAR_INTR_REMAP 0x1
#define DMAR_X2APIC_OPT_OUT 0x2