aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-11 23:33:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:05 -0400
commitd7c1500183bc138b634377ed90c046e722b887d8 (patch)
tree418548dea12f2d158a0222af9762720fabf4a089 /drivers/media/dvb
parentd5748f1079c01c8861b05e0de7c4cda271532cb9 (diff)
V4L/DVB (9001): S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX
Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c20
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.h2
2 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 2aaaca620033..dc76f9935c81 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -829,9 +829,9 @@ struct dtv_cmds_h dtv_cmds[] = {
829 .cmd = DTV_SET_DELIVERY_SYSTEM, 829 .cmd = DTV_SET_DELIVERY_SYSTEM,
830 .set = 1, 830 .set = 1,
831 }, 831 },
832 [DTV_SET_ISDB_SEGMENT_NUM] = { 832 [DTV_SET_ISDB_SEGMENT_IDX] = {
833 .name = "DTV_SET_ISDB_SEGMENT_NUM", 833 .name = "DTV_SET_ISDB_SEGMENT_IDX",
834 .cmd = DTV_SET_ISDB_SEGMENT_NUM, 834 .cmd = DTV_SET_ISDB_SEGMENT_IDX,
835 .set = 1, 835 .set = 1,
836 }, 836 },
837 [DTV_SET_ISDB_SEGMENT_WIDTH] = { 837 [DTV_SET_ISDB_SEGMENT_WIDTH] = {
@@ -902,9 +902,9 @@ struct dtv_cmds_h dtv_cmds[] = {
902 .cmd = DTV_GET_DELIVERY_SYSTEM, 902 .cmd = DTV_GET_DELIVERY_SYSTEM,
903 .set = 0, 903 .set = 0,
904 }, 904 },
905 [DTV_GET_ISDB_SEGMENT_NUM] = { 905 [DTV_GET_ISDB_SEGMENT_IDX] = {
906 .name = "DTV_GET_ISDB_SEGMENT_NUM", 906 .name = "DTV_GET_ISDB_SEGMENT_IDX",
907 .cmd = DTV_GET_ISDB_SEGMENT_NUM, 907 .cmd = DTV_GET_ISDB_SEGMENT_IDX,
908 .set = 0, 908 .set = 0,
909 }, 909 },
910 [DTV_GET_ISDB_SEGMENT_WIDTH] = { 910 [DTV_GET_ISDB_SEGMENT_WIDTH] = {
@@ -1232,11 +1232,11 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
1232 break; 1232 break;
1233 1233
1234 /* ISDB-T Support here */ 1234 /* ISDB-T Support here */
1235 case DTV_SET_ISDB_SEGMENT_NUM: 1235 case DTV_SET_ISDB_SEGMENT_IDX:
1236 fe->dtv_property_cache.isdb_segment_num = tvp->u.data; 1236 fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
1237 break; 1237 break;
1238 case DTV_GET_ISDB_SEGMENT_NUM: 1238 case DTV_GET_ISDB_SEGMENT_IDX:
1239 tvp->u.data = fe->dtv_property_cache.isdb_segment_num; 1239 tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
1240 break; 1240 break;
1241 case DTV_SET_ISDB_SEGMENT_WIDTH: 1241 case DTV_SET_ISDB_SEGMENT_WIDTH:
1242 fe->dtv_property_cache.isdb_segment_width = tvp->u.data; 1242 fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h
index 85d30201a695..1c2090966baf 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -212,7 +212,7 @@ struct dtv_frontend_properties {
212 fe_delivery_system_t delivery_system; 212 fe_delivery_system_t delivery_system;
213 213
214 /* ISDB-T specifics */ 214 /* ISDB-T specifics */
215 u32 isdb_segment_num; 215 u32 isdb_segment_idx;
216 u32 isdb_segment_width; 216 u32 isdb_segment_width;
217 fe_code_rate_t isdb_layera_fec; 217 fe_code_rate_t isdb_layera_fec;
218 fe_modulation_t isdb_layera_modulation; 218 fe_modulation_t isdb_layera_modulation;