diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-22 14:19:19 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-22 14:19:19 +0000 |
commit | 5c51bb04555feb9d92e1a2f95d7f931d3c23dc3c (patch) | |
tree | 9095ac36017fbc930ddcdee54c270b3c875ed5ef /linux/include/media | |
parent | a1f051bc9c24756e56651c89f2556edd677db014 (diff) | |
download | mediapointer-dvb-s2-5c51bb04555feb9d92e1a2f95d7f931d3c23dc3c.tar.gz mediapointer-dvb-s2-5c51bb04555feb9d92e1a2f95d7f931d3c23dc3c.tar.bz2 |
saa7146: ->cpu_addr and friends are little-endian
From: Al Viro <viro@ftp.linux.org.uk>
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 'linux/include/media')
-rw-r--r-- | linux/include/media/saa7146.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index f13a8c58a..e4a7aa2aa 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -65,7 +65,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; @@ -113,7 +113,7 @@ struct saa7146_extension struct saa7146_dma { dma_addr_t dma_handle; - u32 *cpu_addr; + __le32 *cpu_addr; }; struct saa7146_dev |