···933933 * that xc2028 will be in a safe state.934934 * Maybe this might also be needed for DTV.935935 */936936- if (new_mode == T_ANALOG_TV) {936936+ if (new_mode == V4L2_TUNER_ANALOG_TV) {937937 rc = send_seq(priv, {0x00, 0x00});938938939939 /* Analog modes require offset = 0 */···10541054 if (priv->ctrl.input1)10551055 type |= INPUT1;10561056 return generic_set_freq(fe, (625l * p->frequency) / 10,10571057- T_RADIO, type, 0, 0);10571057+ V4L2_TUNER_RADIO, type, 0, 0);10581058 }1059105910601060 /* if std is not defined, choose one */···10691069 p->std |= parse_audio_std_option();1070107010711071 return generic_set_freq(fe, 62500l * p->frequency,10721072- T_ANALOG_TV, type, p->std, 0);10721072+ V4L2_TUNER_ANALOG_TV, type, p->std, 0);10731073}1074107410751075static int xc2028_set_params(struct dvb_frontend *fe,···11741174 }1175117511761176 return generic_set_freq(fe, p->frequency,11771177- T_DIGITAL_TV, type, 0, demod);11771177+ V4L2_TUNER_DIGITAL_TV, type, 0, demod);11781178}1179117911801180static int xc2028_sleep(struct dvb_frontend *fe)
-2
drivers/staging/tm6000/tm6000-cards.c
···588588 tun_setup.mode_mask = 0;589589 if (dev->caps.has_tuner)590590 tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO);591591- if (dev->caps.has_dvb)592592- tun_setup.mode_mask |= T_DIGITAL_TV;593591594592 switch (dev->tuner_type) {595593 case TUNER_XC2028:
+1-1
include/media/tuner.h
···161161enum tuner_mode {162162 T_RADIO = 1 << V4L2_TUNER_RADIO,163163 T_ANALOG_TV = 1 << V4L2_TUNER_ANALOG_TV,164164- T_DIGITAL_TV = 1 << V4L2_TUNER_DIGITAL_TV,164164+ /* Don't need to map V4L2_TUNER_DIGITAL_TV, as tuner-core won't use it */165165};166166167167/* Older boards only had a single tuner device. Nowadays multiple tuner