diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-08-27 20:22:20 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-08-27 20:22:20 -0400 |
commit | 918c1e336d569e3b7731fc8821cbcabebe0cd609 (patch) | |
tree | e55e3268744271e8483ea832b42df62f7c044e54 /linux/drivers/media/video/tda8290.h | |
parent | 4260c54bc53e8359aadc62c55226aed8f020d4ff (diff) | |
download | mediapointer-dvb-s2-918c1e336d569e3b7731fc8821cbcabebe0cd609.tar.gz mediapointer-dvb-s2-918c1e336d569e3b7731fc8821cbcabebe0cd609.tar.bz2 |
tda8290: convert from tuner sub-driver into dvb_frontend module
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/tda8290.h')
-rw-r--r-- | linux/drivers/media/video/tda8290.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tda8290.h b/linux/drivers/media/video/tda8290.h new file mode 100644 index 000000000..815ca1c78 --- /dev/null +++ b/linux/drivers/media/video/tda8290.h @@ -0,0 +1,35 @@ +/* + 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 __TDA8290_H__ +#define __TDA8290_H__ + +#include <linux/i2c.h> +#include "dvb_frontend.h" + +struct tda8290_config +{ + unsigned int *lna_cfg; + int (*tuner_callback) (void *dev, int command,int arg); +}; + +extern int tda8290_probe(struct i2c_adapter* i2c_adap, u8 i2c_addr); +extern struct dvb_frontend *tda8290_attach(struct dvb_frontend *fe, + struct i2c_adapter* i2c_adap, + u8 i2c_addr, + struct tda8290_config *cfg); + +#endif /* __TDA8290_H__ */ |