summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-07-06 05:41:01 +0000
committerMichael Krufky <devnull@localhost>2005-07-06 05:41:01 +0000
commitef2760f70c2bcdbb554e06c283517f62a935d927 (patch)
tree1bc865874a6dd8ec18750a3112044c2e103c9017 /linux/drivers/media/dvb
parentb81bf9593367e4f1a82c106a55203d1fdc8c18a5 (diff)
downloadmediapointer-dvb-s2-ef2760f70c2bcdbb554e06c283517f62a935d927.tar.gz
mediapointer-dvb-s2-ef2760f70c2bcdbb554e06c283517f62a935d927.tar.bz2
Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10)
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/lgdt3302.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt3302.c b/linux/drivers/media/dvb/frontends/lgdt3302.c
index d0b91219c..6cf51a0a0 100644
--- a/linux/drivers/media/dvb/frontends/lgdt3302.c
+++ b/linux/drivers/media/dvb/frontends/lgdt3302.c
@@ -1,5 +1,5 @@
/*
- * $Id: lgdt3302.c,v 1.2 2005/06/28 23:50:48 mkrufky Exp $
+ * $Id: lgdt3302.c,v 1.3 2005/07/06 05:41:01 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__);
}