aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ksysfs.c
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2014-01-03 11:54:31 +0800
committerMatt Fleming <matt.fleming@intel.com>2014-01-03 14:37:13 +0000
commit41a34cec2e0df7798ea322ed1480bc3d3facdc8e (patch)
treefdee71ac6a5bb5f87a13d28cfe9d6259a346ab20 /arch/x86/kernel/ksysfs.c
parentx86/efi: Delete superfluous global variables (diff)
downloadlinux-dev-41a34cec2e0df7798ea322ed1480bc3d3facdc8e.tar.xz
linux-dev-41a34cec2e0df7798ea322ed1480bc3d3facdc8e.zip
x86: ksysfs.c build fix
kbuild test robot report below error for randconfig: arch/x86/kernel/ksysfs.c: In function 'get_setup_data_paddr': arch/x86/kernel/ksysfs.c:81:3: error: implicit declaration of function 'ioremap_cache' [-Werror=implicit-function-declaration] arch/x86/kernel/ksysfs.c:86:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] Fix it by including <asm/io.h> in ksysfs.c Signed-off-by: Dave Young <dyoung@redhat.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/kernel/ksysfs.c')
-rw-r--r--arch/x86/kernel/ksysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/ksysfs.c b/arch/x86/kernel/ksysfs.c
index eb53d153f307..c2bedaea11f7 100644
--- a/arch/x86/kernel/ksysfs.c
+++ b/arch/x86/kernel/ksysfs.c
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/mm.h>
+#include <asm/io.h>
#include <asm/setup.h>
static ssize_t version_show(struct kobject *kobj,