Gitiles
Code Review
Sign In
gerrit.devboardsforandroid.linaro.org
/
device
/
linaro
/
dragonboard
/
529a529e25fe74b906a10ef3d0a36daf74204664
/
.
/
qcom
/
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