diff options
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index b49572b4e..69a86bb72 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -541,6 +541,10 @@ do { \ le32_to_cpu(get_unaligned((u32 *)(a))) #define put_unaligned_le32(r, a) \ put_unaligned(cpu_to_le32(r), ((u32 *)(a))) +#define get_unaligned_le64(a) \ + le64_to_cpu(get_unaligned((u64 *)(a))) +#define put_unaligned_le64(r, a) \ + put_unaligned(cpu_to_le64(r), ((u64 *)(a))) #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) #ifdef CONFIG_PROC_FS |