diff options
-rw-r--r-- | v4l/ChangeLog | 7 | ||||
-rw-r--r-- | v4l/lgdt3302.c | 9 |
2 files changed, 8 insertions, 8 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index db822074a..483999297 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,10 @@ +2005-07-06 02:01 mkrufky + * lgdt3302.c: + + - Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10). + + Signed-off-by: Michael Krufky <mkrufky@m1k.net> + 2005-07-06 03:33 mchehab * tuner-core.c, tea5767.c: - Corrected some bugs at radio, but radio still broken. 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__); } |