drivers: rtt: fix no return statement in rtt_init
Add missing return statement to rtt_init function. Signed-off-by: Pavel Kral <pavel.kral@omsquare.com>
This commit is contained in:
parent
3200914ed9
commit
564f02ec0e
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ static int rtt_init(struct device *unused)
|
|||
ARG_UNUSED(unused);
|
||||
|
||||
SEGGER_RTT_Init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(rtt_init, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS);
|
Loading…
Add table
Add a link
Reference in a new issue