carl9170 firmware: add __be{16,32,64} typedefs
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 23 Nov 2011 21:07:04 +0000 (22:07 +0100)
committerChristian 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

index 206ef0cc9e596139367d4aff4c8ca11ffebe4d82..3f45f0f67ecd6b54c9ad646e81d2f4cffb05f154 100644 (file)
@@ -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 */