diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 13:19:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:13:14 -0400 |
commit | a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (patch) | |
tree | 099f489f485cbe8f44f3e8e3c8cb0e5b777d401d /drivers/media/common/saa7146_video.c | |
parent | f51b10ef6520f2bd725dc333e771eabd55d6c04f (diff) |
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 'drivers/media/common/saa7146_video.c')
-rw-r--r-- | drivers/media/common/saa7146_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/saa7146_video.c b/drivers/media/common/saa7146_video.c index 3cbc6ebbe649..a5e62750eea3 100644 --- a/drivers/media/common/saa7146_video.c +++ b/drivers/media/common/saa7146_video.c | |||
@@ -605,8 +605,8 @@ static int saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *bu | |||
605 | struct saa7146_pgtable *pt1 = &buf->pt[0]; | 605 | struct saa7146_pgtable *pt1 = &buf->pt[0]; |
606 | struct saa7146_pgtable *pt2 = &buf->pt[1]; | 606 | struct saa7146_pgtable *pt2 = &buf->pt[1]; |
607 | struct saa7146_pgtable *pt3 = &buf->pt[2]; | 607 | struct saa7146_pgtable *pt3 = &buf->pt[2]; |
608 | u32 *ptr1, *ptr2, *ptr3; | 608 | __le32 *ptr1, *ptr2, *ptr3; |
609 | u32 fill; | 609 | __le32 fill; |
610 | 610 | ||
611 | int size = buf->fmt->width*buf->fmt->height; | 611 | int size = buf->fmt->width*buf->fmt->height; |
612 | int i,p,m1,m2,m3,o1,o2; | 612 | int i,p,m1,m2,m3,o1,o2; |