diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-11-05 04:54:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-05 09:08:38 -0200 |
commit | 4580278f5d648e9462933ed0910e15cb3549cc09 (patch) | |
tree | 3909b52383499ab859a674a65db71cf33d90fdf3 /drivers/media | |
parent | 358486c426a393ad701f7a676608d36b72dd3b97 (diff) | |
download | op-kernel-dev-4580278f5d648e9462933ed0910e15cb3549cc09.zip op-kernel-dev-4580278f5d648e9462933ed0910e15cb3549cc09.tar.gz |
[media] stk1160: fix sparse warning
stk1160-v4l.c:478:49: warning: incorrect type in argument 3 (different base types)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/usb/stk1160/stk1160-v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v4l.c index 2330543..a4762910 100644 --- a/drivers/media/usb/stk1160/stk1160-v4l.c +++ b/drivers/media/usb/stk1160/stk1160-v4l.c @@ -475,7 +475,7 @@ static int vidioc_s_register(struct file *file, void *priv, struct stk1160 *dev = video_drvdata(file); /* Match host */ - return stk1160_write_reg(dev, reg->reg, cpu_to_le16(reg->val)); + return stk1160_write_reg(dev, reg->reg, reg->val); } #endif |