projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cf639
)
carl9170 firmware: add __be{16,32,64} typedefs
author
Christian Lamparter
<chunkeey@googlemail.com>
Wed, 23 Nov 2011 21:07:04 +0000
(22:07 +0100)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Wed, 23 Nov 2011 21:07:04 +0000
(22:07 +0100)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/types.h
patch
|
blob
|
history
diff --git
a/include/linux/types.h
b/include/linux/types.h
index 206ef0cc9e596139367d4aff4c8ca11ffebe4d82..3f45f0f67ecd6b54c9ad646e81d2f4cffb05f154 100644
(file)
--- a/
include/linux/types.h
+++ b/
include/linux/types.h
@@
-54,4
+54,8
@@
typedef int64_t __s64;
#define cpu_to_le64(x) ((__le64)(uint64_t)(x))
#define le64_to_cpu(x) ((uint64_t)(__le64)(x))
+typedef uint16_t __be16;
+typedef uint32_t __be32;
+typedef uint64_t __be64;
+
#endif /* __LINUX_TYPES_H */