Blackfin: portmux: allow header to be included in assembly files
authorMike Frysinger <vapier@gentoo.org>
Wed, 18 May 2011 07:11:42 +0000 (03:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 06:17:45 +0000 (02:17 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/portmux.h

index b17207fbd4290561efbf2e70c10e7db3cfca0409..300ef44fd154ce0bb6e8944e4c6b09385469528d 100644 (file)
 #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