diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 14:19:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 07:13:14 -0300 |
commit | a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (patch) | |
tree | 099f489f485cbe8f44f3e8e3c8cb0e5b777d401d /include | |
parent | f51b10ef6520f2bd725dc333e771eabd55d6c04f (diff) | |
download | op-kernel-dev-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.zip op-kernel-dev-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.tar.gz |
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 'include')
-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 88b2b5a..2f68f4c 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 |