소스 검색

Blackfin: portmux: allow header to be included in assembly files

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 년 전
부모
커밋
f75e8b32ad
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      arch/blackfin/include/asm/portmux.h

+ 4 - 0
arch/blackfin/include/asm/portmux.h

@@ -22,11 +22,15 @@
 #define peripheral_request_list(per, label) peripheral_request_list(per)
 #endif
 
+#ifndef __ASSEMBLY__
+
 int peripheral_request(unsigned short per, const char *label);
 void peripheral_free(unsigned short per);
 int peripheral_request_list(const unsigned short per[], const char *label);
 void peripheral_free_list(const unsigned short per[]);
 
+#endif
+
 #include <asm/blackfin.h>
 
 #ifndef P_SPORT2_TFS