summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-06-24 07:04:37 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:36 +0200
commitc9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a (patch)
treed0ca41fa75a8a6461ee241c5cc19d2b9c723ef61 /drivers/media/video/saa7134/saa7134.h
parent[PATCH] v4l: saa7134 byteorder fix (diff)
downloadlinux-c9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a.tar.xz
linux-c9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a.zip
[PATCH] saa7134: mark little endian ptr
> - *ptr = sg_dma_address(list) - list->offset; > + *ptr = cpu_to_le32(sg_dma_address(list) - list->offset); Clearly mark pointers to little-endian things. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Gerd Knorr <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/saa7134/saa7134.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index ac90a9853236..1363c3e3f8d3 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -241,7 +241,7 @@ struct saa7134_dma;
/* saa7134 page table */
struct saa7134_pgtable {
unsigned int size;
- u32 *cpu;
+ __le32 *cpu;
dma_addr_t dma;
};