#include "dvb_usb.h"
#include "zd1301_demod.h"
#include "mt2060.h"
#include <linux/i2c.h>
#include <linux/platform_device.h>
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
struct zd1301_dev { … };
static int zd1301_ctrl_msg(struct dvb_usb_device *d, const u8 *wbuf,
unsigned int wlen, u8 *rbuf, unsigned int rlen)
{ … }
static int zd1301_demod_wreg(void *reg_priv, u16 reg, u8 val)
{ … }
static int zd1301_demod_rreg(void *reg_priv, u16 reg, u8 *val)
{ … }
static int zd1301_frontend_attach(struct dvb_usb_adapter *adap)
{ … }
static int zd1301_frontend_detach(struct dvb_usb_adapter *adap)
{ … }
static int zd1301_streaming_ctrl(struct dvb_frontend *fe, int onoff)
{ … }
static const struct dvb_usb_device_properties zd1301_props = …;
static const struct usb_device_id zd1301_id_table[] = …;
MODULE_DEVICE_TABLE(usb, zd1301_id_table);
static struct usb_driver zd1301_usb_driver = …;
module_usb_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;