Explorar o código

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

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger %!s(int64=14) %!d(string=hai) anos
pai
achega
f75e8b32ad
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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