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