diff options
Diffstat (limited to 'drivers/media/common/tuners/xc5000.c')
-rw-r--r-- | drivers/media/common/tuners/xc5000.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index e12d13e0cbe9..493ce93caf43 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c | |||
@@ -36,10 +36,6 @@ static int debug; | |||
36 | module_param(debug, int, 0644); | 36 | module_param(debug, int, 0644); |
37 | MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off)."); | 37 | MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off)."); |
38 | 38 | ||
39 | static int xc5000_load_fw_on_attach; | ||
40 | module_param_named(init_fw, xc5000_load_fw_on_attach, int, 0644); | ||
41 | MODULE_PARM_DESC(init_fw, "Load firmware during driver initialization."); | ||
42 | |||
43 | static DEFINE_MUTEX(xc5000_list_mutex); | 39 | static DEFINE_MUTEX(xc5000_list_mutex); |
44 | static LIST_HEAD(hybrid_tuner_instance_list); | 40 | static LIST_HEAD(hybrid_tuner_instance_list); |
45 | 41 | ||
@@ -1017,9 +1013,6 @@ struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, | |||
1017 | memcpy(&fe->ops.tuner_ops, &xc5000_tuner_ops, | 1013 | memcpy(&fe->ops.tuner_ops, &xc5000_tuner_ops, |
1018 | sizeof(struct dvb_tuner_ops)); | 1014 | sizeof(struct dvb_tuner_ops)); |
1019 | 1015 | ||
1020 | if (xc5000_load_fw_on_attach) | ||
1021 | xc5000_init(fe); | ||
1022 | |||
1023 | return fe; | 1016 | return fe; |
1024 | fail: | 1017 | fail: |
1025 | mutex_unlock(&xc5000_list_mutex); | 1018 | mutex_unlock(&xc5000_list_mutex); |