aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-03-13 15:07:25 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:54:47 -0400
commit75b79ffcc37c6bd05fa895f85d2d6426a9e4c3f1 (patch)
tree14d970769e8c03f6b3ebf03edc5ebeb0563860df /drivers/media
parentf0baad866b3c71d448747b06b1cf6b3493d2f7ce (diff)
[media] gspca - sonixb: Clenup source
- update copyright and module author - set the sensor table as constant Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/sonixb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index c6c65f2da351..5a08738fba30 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -1,9 +1,9 @@
1/* 1/*
2 * sonix sn9c102 (bayer) library 2 * sonix sn9c102 (bayer) library
3 * Copyright (C) 2003 2004 Michel Xhaard mxhaard@magic.fr
4 * Add Pas106 Stefano Mozzi (C) 2004
5 * 3 *
6 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 4 * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr>
5 * Copyright (C) 2003 2004 Michel Xhaard mxhaard@magic.fr
6 * Add Pas106 Stefano Mozzi (C) 2004
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
@@ -52,7 +52,7 @@ all:
52#include <linux/input.h> 52#include <linux/input.h>
53#include "gspca.h" 53#include "gspca.h"
54 54
55MODULE_AUTHOR("Michel Xhaard <mxhaard@users.sourceforge.net>"); 55MODULE_AUTHOR("Jean-François Moine <http://moinejf.free.fr>");
56MODULE_DESCRIPTION("GSPCA/SN9C102 USB Camera Driver"); 56MODULE_DESCRIPTION("GSPCA/SN9C102 USB Camera Driver");
57MODULE_LICENSE("GPL"); 57MODULE_LICENSE("GPL");
58 58
@@ -531,7 +531,7 @@ static const __u8 tas5130_sensor_init[][8] = {
531 {0x30, 0x11, 0x02, 0x20, 0x70, 0x00, 0x00, 0x10}, 531 {0x30, 0x11, 0x02, 0x20, 0x70, 0x00, 0x00, 0x10},
532}; 532};
533 533
534static struct sensor_data sensor_data[] = { 534static const struct sensor_data sensor_data[] = {
535SENS(initHv7131d, hv7131d_sensor_init, F_GAIN, NO_BRIGHTNESS|NO_FREQ, 0), 535SENS(initHv7131d, hv7131d_sensor_init, F_GAIN, NO_BRIGHTNESS|NO_FREQ, 0),
536SENS(initHv7131r, hv7131r_sensor_init, 0, NO_BRIGHTNESS|NO_EXPO|NO_FREQ, 0), 536SENS(initHv7131r, hv7131r_sensor_init, 0, NO_BRIGHTNESS|NO_EXPO|NO_FREQ, 0),
537SENS(initOv6650, ov6650_sensor_init, F_GAIN|F_SIF, 0, 0x60), 537SENS(initOv6650, ov6650_sensor_init, F_GAIN|F_SIF, 0, 0x60),