git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mcheha...
[safe/jmp/linux-2.6]
/
drivers
/
media
/
video
/
ov772x.c
diff --git
a/drivers/media/video/ov772x.c
b/drivers/media/video/ov772x.c
index
c33acc9
..
34034a7
100644
(file)
--- a/
drivers/media/video/ov772x.c
+++ b/
drivers/media/video/ov772x.c
@@
-1092,10
+1092,10
@@
static struct v4l2_subdev_core_ops ov772x_subdev_core_ops = {
#endif
};
#endif
};
-static int ov772x_enum_fmt(struct v4l2_subdev *sd, int index,
+static int ov772x_enum_fmt(struct v4l2_subdev *sd,
unsigned
int index,
enum v4l2_mbus_pixelcode *code)
{
enum v4l2_mbus_pixelcode *code)
{
- if (
(unsigned int)
index >= ARRAY_SIZE(ov772x_cfmts))
+ if (index >= ARRAY_SIZE(ov772x_cfmts))
return -EINVAL;
*code = ov772x_cfmts[index].code;
return -EINVAL;
*code = ov772x_cfmts[index].code;