2009-04-06 15:44:32

by Alexander Beregalov

[permalink] [raw]
Subject: [PATCH next] dmar: fix build

Fix this build error:
drivers/pci/dmar.c:47: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'dmar_tbl_size'

Should include acpi.h

Signed-off-by: Alexander Beregalov <[email protected]>
---

drivers/pci/dmar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 25a00ce..b725a5f 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -33,6 +33,7 @@
#include <linux/timer.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
+#include <acpi/acpi.h>

#undef PREFIX
#define PREFIX "DMAR:"