zoran annotations and fixes
PATCH 1/1 zoran annotations and fixes
Signed-off-by Al Viro <[email protected]>
--- drivers/media/video/zoran_card.c | 2 +- drivers/media/video/zoran_driver.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/zoran_card.c +1 -1
@@ -1147,7 +1147,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 */ }/*
drivers/media/video/zoran_driver.c +2 -2
@@ -2795,7 +2795,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);
@@ -3040,7 +3040,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
Signature · 1 line
1.5.3.GIT