diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 19:19:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 12:13:14 +0200 |
commit | a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (patch) | |
tree | 099f489f485cbe8f44f3e8e3c8cb0e5b777d401d /include/media/saa7146.h | |
parent | V4L/DVB (8126): net endianness fix (diff) | |
download | linux-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.tar.xz linux-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.zip |
V4L/DVB (8128): saa7146: ->cpu_addr and friends are little-endian
Annotations + stop saa7146_i2c from playing fast and loose with
reuse of ->cpu_addr for host-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to '')
-rw-r--r-- | include/media/saa7146.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/saa7146.h b/include/media/saa7146.h index 88b2b5a619aa..2f68f4cd0037 100644 --- a/include/media/saa7146.h +++ b/include/media/saa7146.h @@ -53,7 +53,7 @@ struct saa7146_vv; /* saa7146 page table */ struct saa7146_pgtable { unsigned int size; - u32 *cpu; + __le32 *cpu; dma_addr_t dma; /* used for offsets for u,v planes for planar capture modes */ unsigned long offset; @@ -101,7 +101,7 @@ struct saa7146_extension struct saa7146_dma { dma_addr_t dma_handle; - u32 *cpu_addr; + __le32 *cpu_addr; }; struct saa7146_dev |