mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
V4L/DVB (7427): dvb-pll: remove rf input module options
The ability to select RF input was a supported feature only available on Philips TUV1236d and Philips FCV1236d. This feature, along with support for the tuners that used it, was moved into the tuner-simple module. This can now be removed from dvb-pll. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
b6fd549e50
commit
0c3ea9941c
@ -48,10 +48,6 @@ static int debug;
|
|||||||
module_param(debug, int, 0644);
|
module_param(debug, int, 0644);
|
||||||
MODULE_PARM_DESC(debug, "enable verbose debug messages");
|
MODULE_PARM_DESC(debug, "enable verbose debug messages");
|
||||||
|
|
||||||
static unsigned int input[DVB_PLL_MAX] = { [ 0 ... (DVB_PLL_MAX-1) ] = 0 };
|
|
||||||
module_param_array(input, int, NULL, 0644);
|
|
||||||
MODULE_PARM_DESC(input,"specify rf input choice, 0 for autoselect (default)");
|
|
||||||
|
|
||||||
static unsigned int id[DVB_PLL_MAX] =
|
static unsigned int id[DVB_PLL_MAX] =
|
||||||
{ [ 0 ... (DVB_PLL_MAX-1) ] = DVB_PLL_UNDEFINED };
|
{ [ 0 ... (DVB_PLL_MAX-1) ] = DVB_PLL_UNDEFINED };
|
||||||
module_param_array(id, int, NULL, 0644);
|
module_param_array(id, int, NULL, 0644);
|
||||||
@ -609,20 +605,6 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
|
|||||||
id[priv->nr] == pll_desc_id ?
|
id[priv->nr] == pll_desc_id ?
|
||||||
"insmod option" : "autodetected");
|
"insmod option" : "autodetected");
|
||||||
}
|
}
|
||||||
if ((debug) || (input[priv->nr] > 0)) {
|
|
||||||
printk("dvb-pll[%d]", priv->nr);
|
|
||||||
if (i2c != NULL)
|
|
||||||
printk(" %d-%04x", i2c_adapter_id(i2c), pll_addr);
|
|
||||||
printk(": tuner rf input will be ");
|
|
||||||
switch (input[priv->nr]) {
|
|
||||||
case 0:
|
|
||||||
printk("autoselected\n");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
printk("set to input %d (insmod option)\n",
|
|
||||||
input[priv->nr]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return fe;
|
return fe;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user