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