summaryrefslogtreecommitdiffstats
path: root/include/debug_ll.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-28 10:15:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-29 08:38:38 +0100
commit5610393bc6abb158ba523e5ea133b0a05017017f (patch)
tree9e5479d46d787c6e0f4113e76ba205270e3e3565 /include/debug_ll.h
parent3510a4b0f596e87c0e810abd8773eb09404bc9ac (diff)
downloadbarebox-5610393bc6abb158ba523e5ea133b0a05017017f.tar.gz
barebox-5610393bc6abb158ba523e5ea133b0a05017017f.tar.xz
debug_ll: use const char* for PUTS_LL
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/debug_ll.h')
-rw-r--r--include/debug_ll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/debug_ll.h b/include/debug_ll.h
index a8bac273e2..c7445731d6 100644
--- a/include/debug_ll.h
+++ b/include/debug_ll.h
@@ -30,7 +30,7 @@
ch += (ch >= 10) ? 'a' - 10 : '0';\
PUTC_LL (ch); }})
-static __inline__ void PUTS_LL(char * str)
+static __inline__ void PUTS_LL(const char * str)
{
while (*str) {
if (*str == '\n') {