sercomm: include header file from osmocom/core

Change-Id: Iff5ff3a51d7781bcfb3aff0839b733bc7a71b7e5
This commit is contained in:
Harald Welte 2017-05-01 00:19:38 +02:00
parent f6adcd7dd6
commit 1a97e2c962
1 changed files with 1 additions and 2 deletions

View File

@ -25,6 +25,7 @@
#include <errno.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/sercomm.h>
#ifdef HOST_BUILD
@ -32,7 +33,6 @@
# ifndef ARRAY_SIZE
# define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
# endif
# include <sercomm.h>
static inline void sercomm_lock(unsigned long __attribute__((unused)) *flags) {}
static inline void sercomm_unlock(unsigned long __attribute__((unused)) *flags) {}
@ -54,7 +54,6 @@ static inline void sercomm_unlock(unsigned long *flags)
local_irq_restore(*flags);
}
# include <comm/sercomm.h>
# include <uart.h>
#endif