summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-11 23:33:04 -0400
committerSteven Toth <stoth@linuxtv.org>2008-09-11 23:33:04 -0400
commit68c60334487dbea91c1e89b8d5034623b1b4dbc8 (patch)
tree91daec876bbe844bafb5a235b93a265e22f94e6e /linux/drivers
parent31b33763bbe39a4cf92fd54b60312687aace97a1 (diff)
downloadmediapointer-dvb-s2-68c60334487dbea91c1e89b8d5034623b1b4dbc8.tar.gz
mediapointer-dvb-s2-68c60334487dbea91c1e89b8d5034623b1b4dbc8.tar.bz2
S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c20
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.h2
2 files changed, 11 insertions, 11 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 5a97f749d..405fc7eab 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -840,9 +840,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_SET_DELIVERY_SYSTEM,
.set = 1,
},
- [DTV_SET_ISDB_SEGMENT_NUM] = {
- .name = "DTV_SET_ISDB_SEGMENT_NUM",
- .cmd = DTV_SET_ISDB_SEGMENT_NUM,
+ [DTV_SET_ISDB_SEGMENT_IDX] = {
+ .name = "DTV_SET_ISDB_SEGMENT_IDX",
+ .cmd = DTV_SET_ISDB_SEGMENT_IDX,
.set = 1,
},
[DTV_SET_ISDB_SEGMENT_WIDTH] = {
@@ -913,9 +913,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_GET_DELIVERY_SYSTEM,
.set = 0,
},
- [DTV_GET_ISDB_SEGMENT_NUM] = {
- .name = "DTV_GET_ISDB_SEGMENT_NUM",
- .cmd = DTV_GET_ISDB_SEGMENT_NUM,
+ [DTV_GET_ISDB_SEGMENT_IDX] = {
+ .name = "DTV_GET_ISDB_SEGMENT_IDX",
+ .cmd = DTV_GET_ISDB_SEGMENT_IDX,
.set = 0,
},
[DTV_GET_ISDB_SEGMENT_WIDTH] = {
@@ -1243,11 +1243,11 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
break;
/* ISDB-T Support here */
- case DTV_SET_ISDB_SEGMENT_NUM:
- fe->dtv_property_cache.isdb_segment_num = tvp->u.data;
+ case DTV_SET_ISDB_SEGMENT_IDX:
+ fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
break;
- case DTV_GET_ISDB_SEGMENT_NUM:
- tvp->u.data = fe->dtv_property_cache.isdb_segment_num;
+ case DTV_GET_ISDB_SEGMENT_IDX:
+ tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
break;
case DTV_SET_ISDB_SEGMENT_WIDTH:
fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
index 85d30201a..1c2090966 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -212,7 +212,7 @@ struct dtv_frontend_properties {
fe_delivery_system_t delivery_system;
/* ISDB-T specifics */
- u32 isdb_segment_num;
+ u32 isdb_segment_idx;
u32 isdb_segment_width;
fe_code_rate_t isdb_layera_fec;
fe_modulation_t isdb_layera_modulation;