diff mbox

[U-Boot,12/18] Blackfin: portmux: allow header to be included in assembly files

Message ID 1309289787-7846-13-git-send-email-vapier@gentoo.org
State Accepted
Commit f75e8b32ad59a0813723fa53f12082e7e04d659c
Delegated to: Mike Frysinger
Headers show

Commit Message

Mike Frysinger June 28, 2011, 7:36 p.m. UTC
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
 arch/blackfin/include/asm/portmux.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff mbox


diff --git a/arch/blackfin/include/asm/portmux.h b/arch/blackfin/include/asm/portmux.h
index b17207f..300ef44 100644
--- a/arch/blackfin/include/asm/portmux.h
+++ b/arch/blackfin/include/asm/portmux.h
@@ -22,11 +22,15 @@ 
 #define peripheral_request_list(per, label) peripheral_request_list(per)
+#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[]);
 #include <asm/blackfin.h>
 #ifndef P_SPORT2_TFS