summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tea5761.h
diff options
context:
space:
mode:
authorMichael Krufky2007-08-28 02:23:40 +0200
committerMauro Carvalho Chehab2007-10-10 03:07:39 +0200
commit7ab10bf72add23f0badf98ead92f58e34e14d35a (patch)
tree098a6c00ca2004f642ec84316449e78c1d8dd635 /drivers/media/video/tea5761.h
parentV4L/DVB (6130): mt20xx: convert from tuner sub-driver into dvb_frontend module (diff)
downloadkernel-qcow2-linux-7ab10bf72add23f0badf98ead92f58e34e14d35a.tar.gz
kernel-qcow2-linux-7ab10bf72add23f0badf98ead92f58e34e14d35a.tar.xz
kernel-qcow2-linux-7ab10bf72add23f0badf98ead92f58e34e14d35a.zip
V4L/DVB (6131): tea5761: convert from tuner sub-driver into dvb_frontend module
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Mike Isely <isely@pobox.com> Acked-by: Steven Toth <stoth@hauppauge.com> Acked-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Jarod Wilson <jwilson@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tea5761.h')
-rw-r--r--drivers/media/video/tea5761.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/media/video/tea5761.h b/drivers/media/video/tea5761.h
new file mode 100644
index 000000000000..f287c0291bff
--- /dev/null
+++ b/drivers/media/video/tea5761.h
@@ -0,0 +1,28 @@
+/*
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as 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 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#ifndef __TEA5761_H__
+#define __TEA5761_H__
+
+#include <linux/i2c.h>
+#include "dvb_frontend.h"
+
+extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
+extern struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe,
+ struct i2c_adapter* i2c_adap,
+ u8 i2c_addr);
+
+#endif /* __TEA5761_H__ */