linux/drivers/media/usb/dvb-usb/vp7045.c

// SPDX-License-Identifier: GPL-2.0-only
/* DVB USB compliant Linux driver for the
 *  - TwinhanDTV Alpha/MagicBoxII USB2.0 DVB-T receiver
 *  - DigitalNow TinyUSB2 DVB-t receiver
 *
 * Copyright (C) 2004-5 Patrick Boettcher ([email protected])
 *
 * Thanks to Twinhan who kindly provided hardware and information.
 *
 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
 */
#include "vp7045.h"

/* debug */
static int dvb_usb_vp7045_debug;
module_param_named(debug,dvb_usb_vp7045_debug, int, 0644);
MODULE_PARM_DESC();

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

#define deb_info(args...)
#define deb_xfer(args...)
#define deb_rc(args...)

int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int msec)
{}

u8 vp7045_read_reg(struct dvb_usb_device *d, u8 reg)
{}

static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff)
{}

static int vp7045_rc_query(struct dvb_usb_device *d)
{}

static int vp7045_read_eeprom(struct dvb_usb_device *d,u8 *buf, int len, int offset)
{}

static int vp7045_read_mac_addr(struct dvb_usb_device *d,u8 mac[6])
{}

static int vp7045_frontend_attach(struct dvb_usb_adapter *adap)
{}

static struct dvb_usb_device_properties vp7045_properties;

static int vp7045_usb_probe(struct usb_interface *intf,
		const struct usb_device_id *id)
{}

enum {};

static struct usb_device_id vp7045_usb_table[] =;

MODULE_DEVICE_TABLE(usb, vp7045_usb_table);

static struct dvb_usb_device_properties vp7045_properties =;

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver vp7045_usb_driver =;

module_usb_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_VERSION();
MODULE_LICENSE();