소스 검색

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 <asm/cacheflush.h>
+#include <asm/io.h>
 
 /* Allow people to have their own Blackfin exception handler in a module */
 EXPORT_SYMBOL(bfin_return_from_exception);