Gitiles
Code Review
Sign In
gerrit.devboardsforandroid.linaro.org
/
device
/
linaro
/
dragonboard
/
d4bfcce89a146072f3ff9924a9f89be99cdd5f74
/
.
/
shared
/
utils
/
qrtr
/
src
/
ns.h
blob: d661ac894a9f3629f0768e1757860a4e8d44d7df [
file
] [
log
] [
blame
]
#ifndef
__NS_H_
#define
__NS_H_
#include
<endian.h>
#include
<stdint.h>
static
inline
__le32 cpu_to_le32
(
uint32_t
x
)
{
return
htole32
(
x
);
}
static
inline
uint32_t
le32_to_cpu
(
__le32 x
)
{
return
le32toh
(
x
);
}
#endif