#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <media/dvb_frontend.h>
#include "tda665x.h"
struct tda665x_state { … };
static int tda665x_read(struct tda665x_state *state, u8 *buf)
{ … }
static int tda665x_write(struct tda665x_state *state, u8 *buf, u8 length)
{ … }
static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int tda665x_get_status(struct dvb_frontend *fe, u32 *status)
{ … }
static int tda665x_set_frequency(struct dvb_frontend *fe,
u32 new_frequency)
{ … }
static int tda665x_set_params(struct dvb_frontend *fe)
{ … }
static void tda665x_release(struct dvb_frontend *fe)
{ … }
static const struct dvb_tuner_ops tda665x_ops = …;
struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
const struct tda665x_config *config,
struct i2c_adapter *i2c)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;