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