[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1336597442-9399-1-git-send-email-hpa@linux.intel.com>
Date: Wed, 9 May 2012 14:04:02 -0700
From: "H. Peter Anvin" <hpa@...ux.intel.com>
To: lenb@...nel.org
Cc: hpa@...or.com, linux-kernel@...r.kernel.org, len.brown@...el.com,
linux-acpi@...r.kernel.org, "H. Peter Anvin" <hpa@...ux.intel.com>,
Matthew Garrett <mjg@...hat.com>
Subject: [PATCH] acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c
From: "H. Peter Anvin" <hpa@...ux.intel.com>
The ACPI BGRT driver uses ioremap() and memcpy_fromio(), which means
it needs to #include <linux/io.h>.
Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>
Cc: Matthew Garrett <mjg@...hat.com>
---
drivers/acpi/bgrt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/bgrt.c b/drivers/acpi/bgrt.c
index 8cf6c46..6680df3 100644
--- a/drivers/acpi/bgrt.c
+++ b/drivers/acpi/bgrt.c
@@ -11,6 +11,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/sysfs.h>
+#include <linux/io.h>
#include <acpi/acpi.h>
#include <acpi/acpi_bus.h>
--
1.7.6.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists