diff --git a/drivers/serial/uart_hostlink.c b/drivers/serial/uart_hostlink.c index 396422b6e19..3fa55147a0d 100644 --- a/drivers/serial/uart_hostlink.c +++ b/drivers/serial/uart_hostlink.c @@ -6,6 +6,7 @@ #include #include +#include #include #define DT_DRV_COMPAT snps_hostlink_uart @@ -35,10 +36,6 @@ BUILD_ASSERT(IS_ENABLED(CONFIG_ARC)); #define HL_SYSCALL_GETCWD 17 #define HL_SYSCALL_USER 18 -#ifndef __noinline -#define __noinline __attribute__((noinline)) -#endif /* __noinline */ - #define HL_VERSION 1 /* "No message here" mark. */