summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 14:19:49 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 14:19:49 +0000
commitcca06714a1b74a03e61dc011e927694f7e6d7e9b (patch)
tree93b192508af53c03d1716d85ffab143e6674b705
parentfc6d13bb18ede44530d8180660f7d1f15e915e1e (diff)
downloadmediapointer-dvb-s2-cca06714a1b74a03e61dc011e927694f7e6d7e9b.tar.gz
mediapointer-dvb-s2-cca06714a1b74a03e61dc011e927694f7e6d7e9b.tar.bz2
zoran annotations and fixes
From: Al Viro <viro@ftp.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/zoran_card.c2
-rw-r--r--linux/drivers/media/video/zoran_driver.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/zoran_card.c b/linux/drivers/media/video/zoran_card.c
index c2f7e9a64..b517ce4f1 100644
--- a/linux/drivers/media/video/zoran_card.c
+++ b/linux/drivers/media/video/zoran_card.c
@@ -1141,7 +1141,7 @@ zr36057_init (struct zoran *zr)
goto exit_free;
}
for (j = 0; j < BUZ_NUM_STAT_COM; j++) {
- zr->stat_com[j] = 1; /* mark as unavailable to zr36057 */
+ zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */
}
/*
diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c
index c1ed32e99..73546a20d 100644
--- a/linux/drivers/media/video/zoran_driver.c
+++ b/linux/drivers/media/video/zoran_driver.c
@@ -2861,7 +2861,7 @@ zoran_do_ioctl (struct inode *inode,
{
struct v4l2_format *fmt = arg;
int i, res = 0;
- __u32 printformat;
+ __le32 printformat;
dprintk(3, KERN_DEBUG "%s: VIDIOC_S_FMT - type=%d, ",
ZR_DEVNAME(zr), fmt->type);
@@ -3106,7 +3106,7 @@ zoran_do_ioctl (struct inode *inode,
{
int i, res = 0;
struct v4l2_framebuffer *fb = arg;
- __u32 printformat = __cpu_to_le32(fb->fmt.pixelformat);
+ __le32 printformat = __cpu_to_le32(fb->fmt.pixelformat);
dprintk(3,
KERN_DEBUG