summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-23 09:48:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-05 19:48:50 +0100
commit9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f (patch)
tree8c5b4a049182df504945e119f229afce67b9b5a7 /arch/arm/mach-versatile
parent0a6da026219c496eac1200839214fbcf8806c849 (diff)
downloadbarebox-9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f.tar.gz
barebox-9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f.tar.xz
debug_ll: Let architectures define PUTC_LL directly
putc already is a regular barebox function. To avoid conflicts and confusions just let architectures define PUTC_LL directly instead of going through this addiotional redirection. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/include/mach/debug_ll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/include/mach/debug_ll.h b/arch/arm/mach-versatile/include/mach/debug_ll.h
index 20fbc7c7ab..f91812b12d 100644
--- a/arch/arm/mach-versatile/include/mach/debug_ll.h
+++ b/arch/arm/mach-versatile/include/mach/debug_ll.h
@@ -19,7 +19,7 @@
#include <linux/amba/serial.h>
#include <io.h>
-static inline void putc(char c)
+static inline void PUTC_LL(char c)
{
/* Wait until there is space in the FIFO */
while (readl(0x101F1000 + UART01x_FR) & UART01x_FR_TXFF);