提交 4580278f 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] stk1160: fix sparse warning

stk1160-v4l.c:478:49: warning: incorrect type in argument 3 (different base types)
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 358486c4
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册