aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-20 21:45:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-04 19:18:49 -0500
commit065719a7689ff29debda9e8ce1c4891dcfc5ceb4 (patch)
tree28ee80e8c423ab54082df5ffc55ad086c34839a9 /drivers/media/common
parent6d3d748a6265f156d14029237ffc3dbdc85d7e44 (diff)
[media] mt2063: Remove internal version checks
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/mt2063.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/common/tuners/mt2063.c b/drivers/media/common/tuners/mt2063.c
index 0c4ae7f15c45..98bc2e2ee41b 100644
--- a/drivers/media/common/tuners/mt2063.c
+++ b/drivers/media/common/tuners/mt2063.c
@@ -6,14 +6,12 @@
6 6
7#include "mt2063.h" 7#include "mt2063.h"
8 8
9/* Version of this module */
10#define MT2063_VERSION 10018 /* Version 01.18 */
11
12static unsigned int verbose; 9static unsigned int verbose;
13module_param(verbose, int, 0644); 10module_param(verbose, int, 0644);
14 11
15/* Internal structures and types */ 12/* Internal structures and types */
16 13
14/* FIXME: we probably don't need these new FE get/set property types for tuner */
17#define DVBFE_TUNER_OPEN 99 15#define DVBFE_TUNER_OPEN 99
18#define DVBFE_TUNER_SOFTWARE_SHUTDOWN 100 16#define DVBFE_TUNER_SOFTWARE_SHUTDOWN 100
19#define DVBFE_TUNER_CLEAR_POWER_MASKBITS 101 17#define DVBFE_TUNER_CLEAR_POWER_MASKBITS 101
@@ -118,8 +116,6 @@ module_param(verbose, int, 0644);
118 * check against this version number to make sure that 116 * check against this version number to make sure that
119 * it matches the version that the tuner driver knows about. 117 * it matches the version that the tuner driver knows about.
120 */ 118 */
121/* Version 010201 => 1.21 */
122#define MT2063_AVOID_SPURS_INFO_VERSION 010201
123 119
124/* DECT Frequency Avoidance */ 120/* DECT Frequency Avoidance */
125#define MT2063_DECT_AVOID_US_FREQS 0x00000001 121#define MT2063_DECT_AVOID_US_FREQS 0x00000001
@@ -497,7 +493,6 @@ struct MT2063_Info_t {
497 void *handle; 493 void *handle;
498 void *hUserData; 494 void *hUserData;
499 u32 address; 495 u32 address;
500 u32 version;
501 u32 tuner_id; 496 u32 tuner_id;
502 struct MT2063_AvoidSpursData_t AS_Data; 497 struct MT2063_AvoidSpursData_t AS_Data;
503 u32 f_IF1_actual; 498 u32 f_IF1_actual;
@@ -3115,7 +3110,6 @@ static u32 MT2063_ReInit(void *h)
3115 3110
3116 if (MT2063_NO_ERROR(status)) { 3111 if (MT2063_NO_ERROR(status)) {
3117 /* Initialize the tuner state. */ 3112 /* Initialize the tuner state. */
3118 pInfo->version = MT2063_VERSION;
3119 pInfo->tuner_id = pInfo->reg[MT2063_REG_PART_REV]; 3113 pInfo->tuner_id = pInfo->reg[MT2063_REG_PART_REV];
3120 pInfo->AS_Data.f_ref = MT2063_REF_FREQ; 3114 pInfo->AS_Data.f_ref = MT2063_REF_FREQ;
3121 pInfo->AS_Data.f_if1_Center = 3115 pInfo->AS_Data.f_if1_Center =