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:
parent
f8ba8d687d
commit
ec258b8bd0
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue