* [PATCH] acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c
@ 2012-05-09 21:04 H. Peter Anvin
2012-05-17 18:13 ` [tip:x86/trampoline] " tip-bot for H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2012-05-09 21:04 UTC (permalink / raw)
To: lenb
Cc: hpa, linux-kernel, len.brown, linux-acpi, H. Peter Anvin,
Matthew Garrett
From: "H. Peter Anvin" <hpa@linux.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@linux.intel.com>
Cc: Matthew Garrett <mjg@redhat.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/trampoline] acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c
2012-05-09 21:04 [PATCH] acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c H. Peter Anvin
@ 2012-05-17 18:13 ` tip-bot for H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for H. Peter Anvin @ 2012-05-17 18:13 UTC (permalink / raw)
To: linux-tip-commits; +Cc: mjg, linux-kernel, hpa, mingo, lenb, tglx, hpa
Commit-ID: 2ee93ab67a73955018dff6ad76916e20a2ba10f7
Gitweb: http://git.kernel.org/tip/2ee93ab67a73955018dff6ad76916e20a2ba10f7
Author: H. Peter Anvin <hpa@linux.intel.com>
AuthorDate: Wed, 9 May 2012 14:04:02 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 17 May 2012 07:18:26 -0700
acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c
The ACPI BGRT driver uses ioremap() and memcpy_fromio(), which means
it needs to #include <linux/io.h>.
[ hpa: This was hidden because <asm/acpi.h> used to include <asm/trampoline.h>,
which then included <asm/io.h> ]
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1336597442-9399-1-git-send-email-hpa@linux.intel.com
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Len Brown <lenb@kernel.org>
---
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>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-17 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-09 21:04 [PATCH] acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c H. Peter Anvin
2012-05-17 18:13 ` [tip:x86/trampoline] " tip-bot for H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).