]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
acpi, bgrd: Add missing <linux/io.h> to drivers/acpi/bgrt.c
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 9 May 2012 21:04:02 +0000 (14:04 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 May 2012 14:18:26 +0000 (07:18 -0700)
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

index 8cf6c46e99fb538b320b7e63131269ef78accaae..6680df36b9634f414cc7438ca57590bef0c8cc71 100644 (file)
@@ -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>