9
0
Fork 0

debug_ll: change the argument type of putc_ll()

Most of the implementations of PUTC_LL() takes "char"
(some take "int"), not "unsigned char".
Moreover, puts_ll() takes an argument with "const char *" type.

Let's drop "unsigned" from the prototype of putc_ll().

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Masahiro Yamada 2015-01-21 13:36:08 +09:00 committed by Sascha Hauer
parent f8ba8d687d
commit ec258b8bd0
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#if defined (CONFIG_DEBUG_LL)
static inline void putc_ll(unsigned char value)
static inline void putc_ll(char value)
{
PUTC_LL(value);
}
@ -67,7 +67,7 @@ static inline void puts_ll(const char * str)
#else
static inline void putc_ll(unsigned char value)
static inline void putc_ll(char value)
{
}