浏览代码

Blackfin: pull in asm/io.h in ksyms for prototypes

Make sure we pull in asm/io.h when exporting symbols for the I/O functions
so we don't end up with a build failure due to missing prototypes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 16 年之前
父节点
当前提交
abea0bc3d9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/blackfin/kernel/bfin_ksyms.c

+ 1 - 0
arch/blackfin/kernel/bfin_ksyms.c

@@ -10,6 +10,7 @@
 #include <linux/uaccess.h>
 #include <linux/uaccess.h>
 
 
 #include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
+#include <asm/io.h>
 
 
 /* Allow people to have their own Blackfin exception handler in a module */
 /* Allow people to have their own Blackfin exception handler in a module */
 EXPORT_SYMBOL(bfin_return_from_exception);
 EXPORT_SYMBOL(bfin_return_from_exception);