diff options
author | Dave Young <dyoung@redhat.com> | 2014-01-02 22:54:31 -0500 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-01-03 09:37:13 -0500 |
commit | 41a34cec2e0df7798ea322ed1480bc3d3facdc8e (patch) | |
tree | fdee71ac6a5bb5f87a13d28cfe9d6259a346ab20 | |
parent | 518548abd61808ea1e31614ccbdae34d3c32dfa4 (diff) |
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>
-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 @@ | |||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | 19 | ||
20 | #include <asm/io.h> | ||
20 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
21 | 22 | ||
22 | static ssize_t version_show(struct kobject *kobj, | 23 | static ssize_t version_show(struct kobject *kobj, |