diff options
author | Dave Young <dyoung@redhat.com> | 2014-01-03 11:54:31 +0800 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-01-03 14:37:13 +0000 |
commit | 41a34cec2e0df7798ea322ed1480bc3d3facdc8e (patch) | |
tree | fdee71ac6a5bb5f87a13d28cfe9d6259a346ab20 /arch/x86 | |
parent | 518548abd61808ea1e31614ccbdae34d3c32dfa4 (diff) | |
download | linux-41a34cec2e0df7798ea322ed1480bc3d3facdc8e.tar.bz2 |
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')
-rw-r--r-- | arch/x86/kernel/ksysfs.c | 1 |
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, |