*/
 /*  return status;  */
 
-//#if !TUNER_CONTROL_BY_DRXK_DRIVER
        fe->ops.i2c_gate_ctrl(fe, 1);   //I2C bypass drxk3926 close i2c bridge
-//#endif
 
        if (mt2063_writeregs(state, subAddress, pData, cnt) < 0) {
                status = MT2063_ERROR;
        }
-//#if !TUNER_CONTROL_BY_DRXK_DRIVER
        fe->ops.i2c_gate_ctrl(fe, 0);   //I2C bypass drxk3926 close i2c bridge
-//#endif
 
        return (status);
 }
        struct dvb_frontend *fe = hUserData;
        struct mt2063_state *state = fe->tuner_priv;
        u32 i = 0;
-//#if !TUNER_CONTROL_BY_DRXK_DRIVER
        fe->ops.i2c_gate_ctrl(fe, 1);   //I2C bypass drxk3926 close i2c bridge
-//#endif
 
        for (i = 0; i < cnt; i++) {
                if (mt2063_read_regs(state, subAddress + i, pData + i, 1) < 0) {
                }
        }
 
-//#if !TUNER_CONTROL_BY_DRXK_DRIVER
        fe->ops.i2c_gate_ctrl(fe, 0);   //I2C bypass drxk3926 close i2c bridge
-//#endif
 
        return (status);
 }
        msleep(nMinDelayTime);
 }
 
-#if defined(MT2060_CNT)
-#if MT2060_CNT > 0
 /*****************************************************************************
 **
 **  Name: MT_TunerGain  (MT2060 only)
 
        return (status);
 }
-#endif
-#endif
 //end of mt2063_userdef.c
 //=================================================================
 //#################################################################
 **
 *****************************************************************************/
 
-#if !defined(MT2063_TUNER_CNT)
-#error MT2063_TUNER_CNT is not defined (see mt_userdef.h)
-#endif
-
-#if MT2063_TUNER_CNT == 0
-#error MT2063_TUNER_CNT must be updated in mt_userdef.h
-#endif
-
 /*  Version of this module                         */
 #define MT2063_SPUR_VERSION 10201      /*  Version 01.21 */
 
 **  If the version is different, an updated file is needed from Microtune
 */
 /* Expecting version 1.21 of the Spur Avoidance API */
-#define EXPECTED_MT2063_AVOID_SPURS_INFO_VERSION  010201
-
-#if MT2063_AVOID_SPURS_INFO_VERSION < EXPECTED_MT2063_AVOID_SPURS_INFO_VERSION
-#error Contact Microtune for a newer version of MT_SpurAvoid.c
-#elif MT2063_AVOID_SPURS_INFO_VERSION > EXPECTED_MT2063_AVOID_SPURS_INFO_VERSION
-#error Contact Microtune for a newer version of mt2063.c
-#endif
-
-#ifndef MT2063_CNT
-#error You must define MT2063_CNT in the "mt_userdef.h" file
-#endif
 
 typedef enum {
        MT2063_SET_ATTEN,
 
 #define USE_GLOBAL_TUNER                       0
 
-static u32 nMT2063MaxTuners = MT2063_CNT;
-static struct MT2063_Info_t MT2063_Info[MT2063_CNT];
-static struct MT2063_Info_t *MT2063_Avail[MT2063_CNT];
+static u32 nMT2063MaxTuners = 1;
+static struct MT2063_Info_t MT2063_Info[1];
+static struct MT2063_Info_t *MT2063_Avail[1];
 static u32 nMT2063OpenTuners = 0;
 
 /*
 
        /*  Default tuner handle to NULL.  If successful, it will be reassigned  */
 
-#if USE_GLOBAL_TUNER
-       *hMT2063 = NULL;
-
-       /*
-        **  If this is our first tuner, initialize the address fields and
-        **  the list of available control blocks.
-        */
-       if (nMT2063OpenTuners == 0) {
-               for (i = MT2063_CNT - 1; i >= 0; i--) {
-                       MT2063_Info[i].handle = NULL;
-                       MT2063_Info[i].address = MAX_UDATA;
-                       MT2063_Info[i].rcvr_mode = MT2063_CABLE_QAM;
-                       MT2063_Info[i].hUserData = NULL;
-                       MT2063_Avail[i] = &MT2063_Info[i];
-               }
-       }
-
-       /*
-        **  Look for an existing MT2063_State_t entry with this address.
-        */
-       for (i = MT2063_CNT - 1; i >= 0; i--) {
-               /*
-                **  If an open'ed handle provided, we'll re-initialize that structure.
-                **
-                **  We recognize an open tuner because the address and hUserData are
-                **  the same as one that has already been opened
-                */
-               if ((MT2063_Info[i].address == MT2063_Addr) &&
-                   (MT2063_Info[i].hUserData == hUserData)) {
-                       pInfo = &MT2063_Info[i];
-                       break;
-               }
-       }
-
-       /*  If not found, choose an empty spot.  */
-       if (pInfo == NULL) {
-               /*  Check to see that we're not over-allocating  */
-               if (nMT2063OpenTuners == MT2063_CNT) {
-                       return MT2063_TUNER_CNT_ERR;
-               }
-               /* Use the next available block from the list */
-               pInfo = MT2063_Avail[nMT2063OpenTuners];
-               nMT2063OpenTuners++;
-       }
-#else
        if (state->MT2063_init == false) {
                pInfo = kzalloc(sizeof(struct MT2063_Info_t), GFP_KERNEL);
                if (pInfo == NULL) {
        } else {
                pInfo = *hMT2063;
        }
-#endif
 
        if (MT2063_NO_ERROR(status)) {
                status |= MT2063_RegisterTuner(&pInfo->AS_Data);
        pInfo->handle = NULL;
        pInfo->address = MAX_UDATA;
        pInfo->hUserData = NULL;
-#if USE_GLOBAL_TUNER
-       nMT2063OpenTuners--;
-       MT2063_Avail[nMT2063OpenTuners] = pInfo;        /* Return control block to available list */
-#else
        //kfree(pInfo);
        //pInfo = NULL;
-#endif
+
        return MT2063_OK;
 }