git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
media
/
video
/
ovcamchip
/
ov7x20.c
diff --git
a/drivers/media/video/ovcamchip/ov7x20.c
b/drivers/media/video/ovcamchip/ov7x20.c
index
3c8c48f
..
8e26ae3
100644
(file)
--- a/
drivers/media/video/ovcamchip/ov7x20.c
+++ b/
drivers/media/video/ovcamchip/ov7x20.c
@@
-232,10
+232,9
@@
static int ov7x20_init(struct i2c_client *c)
if (rc < 0)
return rc;
- ov->spriv = s = k
m
alloc(sizeof *s, GFP_KERNEL);
+ ov->spriv = s = k
z
alloc(sizeof *s, GFP_KERNEL);
if (!s)
return -ENOMEM;
- memset(s, 0, sizeof *s);
s->auto_brt = 1;
s->auto_exp = DFL_AUTO_EXP;