summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea6415c.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tea6415c.c')
-rw-r--r--linux/drivers/media/video/tea6415c.c30
1 files changed, 29 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tea6415c.c b/linux/drivers/media/video/tea6415c.c
index dd65664d4..7cbc580de 100644
--- a/linux/drivers/media/video/tea6415c.c
+++ b/linux/drivers/media/video/tea6415c.c
@@ -1,3 +1,31 @@
+ /*
+ tea6415c.h - i2c-driver for the tea6415c by SGS Thomson
+
+ Copyright (C) 1998-2003 Michael Hunold <michael@mihu.de>
+
+ The tea6415c is a bus controlled video-matrix-switch
+ with 8 inputs and 6 outputs.
+ It is cascadable, i.e. it can be found at the addresses
+ 0x86 and 0x06 on the i2c-bus.
+
+ For detailed informations download the specifications directly
+ from SGS Thomson at http://www.st.com
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License vs published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mvss Ave, Cambridge, MA 02139, USA.
+ */
+
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@ -153,7 +181,7 @@ static int tea6415c_switch(struct i2c_client *client, int i, int o)
static int tea6415c_command(struct i2c_client *client, unsigned int cmd, void* arg)
{
- struct tea6415c_video_multiplex *v = (struct tea6415c_video_multiplex*)arg;
+ struct tea6415c_multiplex *v = (struct tea6415c_multiplex*)arg;
int result = 0;
switch (cmd) {