Commit a1d6344c authored by Pavel Kral's avatar Pavel Kral Committed by Carles Cufí
Browse files

drivers: rtt: fix no return statement in rtt_init



Add missing return statement to rtt_init function.

Signed-off-by: default avatarPavel Kral <pavel.kral@omsquare.com>
parent 87b06414
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
 No newline at end of file