summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tuner-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 3cbf47a7a..479afb1f6 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -1182,11 +1182,11 @@ register_client:
/* Sets a default mode */
if (t->mode_mask & T_ANALOG_TV) {
- t->mode = T_ANALOG_TV;
+ t->mode = V4L2_TUNER_ANALOG_TV;
} else if (t->mode_mask & T_RADIO) {
- t->mode = T_RADIO;
+ t->mode = V4L2_TUNER_RADIO;
} else {
- t->mode = T_DIGITAL_TV;
+ t->mode = V4L2_TUNER_DIGITAL_TV;
}
set_type(client, t->type, t->mode_mask, t->config, t->tuner_callback);
list_add_tail(&t->list, &tuner_list);