]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/dmar.h: forward-declare struct acpi_dmar_header
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:42:20 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:06 +0000 (17:49 +1100)
commita1a3298c04c6621f6a50167505a3f7ad8260e09f
tree49a57e0efa17395b1c3283433587db03c9dc913a
parent53c998adb615ddc8b73d52b97bb45807b1f4dd5e
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>
include/linux/dmar.h