diff options
author | Michael Krufky <devnull@localhost> | 2005-07-06 06:03:18 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-07-06 06:03:18 +0000 |
commit | 38ec6f3c0ba56cf663ff020f7dfd0aae6e921188 (patch) | |
tree | 763c721c8f78b8e142a63dc30ab396a2140a0ead /v4l/lgdt3302.c | |
parent | ef2760f70c2bcdbb554e06c283517f62a935d927 (diff) | |
download | mediapointer-dvb-s2-38ec6f3c0ba56cf663ff020f7dfd0aae6e921188.tar.gz mediapointer-dvb-s2-38ec6f3c0ba56cf663ff020f7dfd0aae6e921188.tar.bz2 |
* lgdt3302.c:
- Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10).
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/lgdt3302.c')
-rw-r--r-- | v4l/lgdt3302.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/v4l/lgdt3302.c b/v4l/lgdt3302.c index a80e1dd41..5b591e349 100644 --- a/v4l/lgdt3302.c +++ b/v4l/lgdt3302.c @@ -1,5 +1,5 @@ /* - * $Id: lgdt3302.c,v 1.12 2005/06/28 23:41:47 mkrufky Exp $ + * $Id: lgdt3302.c,v 1.13 2005/07/06 06:03:18 mkrufky Exp $ * * Support for LGDT3302 (DViCO FustionHDTV 3 Gold) - VSB/QAM * @@ -208,8 +208,6 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe, struct lgdt3302_state* state = (struct lgdt3302_state*) fe->demodulator_priv; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10) - /* Use 50MHz parameter values from spec sheet since xtal is 50 */ static u8 top_ctrl_cfg[] = { TOP_CONTROL, 0x03 }; static u8 vsb_freq_cfg[] = { VSB_CARRIER_FREQ0, 0x00, 0x87, 0x8e, 0x01 }; @@ -301,9 +299,6 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe, lgdt3302_SwReset(state); state->current_modulation = param->u.vsb.modulation; } -#else - printk("lgdt3302: %s: you need a newer kernel for this, sorry\n",__FUNCTION__); -#endif /* Change only if we are actually changing the channel */ if (state->current_frequency != param->frequency) { @@ -392,14 +387,12 @@ static int lgdt3302_read_status(struct dvb_frontend* fe, fe_status_t* status) else return 0; break; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10) case VSB_8: if ((buf[0] & 0x80) == 0x80) *status |= FE_HAS_CARRIER; else return 0; break; -#endif default: printk("KERN_WARNING lgdt3302: %s: Modulation set to unsupported value\n", __FUNCTION__); } |