diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/gl860/gl860.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c index 62f4320fd9d8..6ef59ac7f502 100644 --- a/drivers/media/video/gspca/gl860/gl860.c +++ b/drivers/media/video/gspca/gl860/gl860.c | |||
@@ -129,6 +129,8 @@ static int gl860_build_control_table(struct gspca_dev *gspca_dev) | |||
129 | sd_ctrls = sd_ctrls_ov2640; | 129 | sd_ctrls = sd_ctrls_ov2640; |
130 | else if (_OV9655_) | 130 | else if (_OV9655_) |
131 | sd_ctrls = sd_ctrls_ov9655; | 131 | sd_ctrls = sd_ctrls_ov9655; |
132 | else | ||
133 | return 0; | ||
132 | 134 | ||
133 | memset(sd_ctrls, 0, GL860_NCTRLS * sizeof(struct ctrl)); | 135 | memset(sd_ctrls, 0, GL860_NCTRLS * sizeof(struct ctrl)); |
134 | 136 | ||