summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-05-09 23:04:02 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2012-05-17 16:18:26 +0200
commit2ee93ab67a73955018dff6ad76916e20a2ba10f7 (patch)
tree0ef6649be133336a2769e52664349e9c68663d1e /drivers/acpi
parentx86, realmode: Change EFER to a single u64 field (diff)
downloadlinux-2ee93ab67a73955018dff6ad76916e20a2ba10f7.tar.xz
linux-2ee93ab67a73955018dff6ad76916e20a2ba10f7.zip
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/bgrt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/bgrt.c b/drivers/acpi/bgrt.c
index 8cf6c46e99fb..6680df36b963 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>