mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 15:39:07 +00:00
V4L/DVB (8013): gl861: remove useless identify_state
- remove useless identify_state - device is always warm Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
f56ebe16b0
commit
ea3a13b7a1
@ -94,16 +94,6 @@ static struct i2c_algorithm gl861_i2c_algo = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Callbacks for DVB USB */
|
/* Callbacks for DVB USB */
|
||||||
static int gl861_identify_state(struct usb_device *udev,
|
|
||||||
struct dvb_usb_device_properties *props,
|
|
||||||
struct dvb_usb_device_description **desc,
|
|
||||||
int *cold)
|
|
||||||
{
|
|
||||||
*cold = 0;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct zl10353_config gl861_zl10353_config = {
|
static struct zl10353_config gl861_zl10353_config = {
|
||||||
.demod_address = 0x0f,
|
.demod_address = 0x0f,
|
||||||
.no_tuner = 1,
|
.no_tuner = 1,
|
||||||
@ -174,7 +164,6 @@ static struct dvb_usb_device_properties gl861_properties = {
|
|||||||
|
|
||||||
.size_of_priv = 0,
|
.size_of_priv = 0,
|
||||||
|
|
||||||
.identify_state = gl861_identify_state,
|
|
||||||
.num_adapters = 1,
|
.num_adapters = 1,
|
||||||
.adapter = {{
|
.adapter = {{
|
||||||
|
|
||||||
@ -196,13 +185,15 @@ static struct dvb_usb_device_properties gl861_properties = {
|
|||||||
|
|
||||||
.num_device_descs = 2,
|
.num_device_descs = 2,
|
||||||
.devices = {
|
.devices = {
|
||||||
{ "MSI Mega Sky 55801 DVB-T USB2.0",
|
{
|
||||||
{ &gl861_table[0], NULL },
|
.name = "MSI Mega Sky 55801 DVB-T USB2.0",
|
||||||
{ NULL },
|
.cold_ids = { NULL },
|
||||||
|
.warm_ids = { &gl861_table[0], NULL },
|
||||||
},
|
},
|
||||||
{ "A-LINK DTU DVB-T USB2.0",
|
{
|
||||||
{ &gl861_table[1], NULL },
|
.name = "A-LINK DTU DVB-T USB2.0",
|
||||||
{ NULL },
|
.cold_ids = { NULL },
|
||||||
|
.warm_ids = { &gl861_table[1], NULL },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user