aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-11 09:34:19 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:04 -0400
commit177b868d93861077619261dcecd0147d1c033026 (patch)
treeb1ec7119bdb5222f378bd3df616373f7b3d361ae
parente7fee0f3aa111d42cdcfc1470cfdc21dde0cdbe2 (diff)
V4L/DVB (8997): S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FEC
This is now consistent with the existing API. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c32
-rw-r--r--include/linux/dvb/frontend.h8
2 files changed, 20 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 763da968236f..ce1de403e99e 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -794,14 +794,14 @@ struct dtv_cmds_h dtv_cmds[] = {
794 .set = 1, 794 .set = 1,
795 .buffer = 1, 795 .buffer = 1,
796 }, 796 },
797 [DTV_SET_SYMBOLRATE] = { 797 [DTV_SET_SYMBOL_RATE] = {
798 .name = "DTV_SET_SYMBOLRATE", 798 .name = "DTV_SET_SYMBOL_RATE",
799 .cmd = DTV_SET_SYMBOLRATE, 799 .cmd = DTV_SET_SYMBOL_RATE,
800 .set = 1, 800 .set = 1,
801 }, 801 },
802 [DTV_SET_INNERFEC] = { 802 [DTV_SET_INNER_FEC] = {
803 .name = "DTV_SET_INNERFEC", 803 .name = "DTV_SET_INNER_FEC",
804 .cmd = DTV_SET_INNERFEC, 804 .cmd = DTV_SET_INNER_FEC,
805 .set = 1, 805 .set = 1,
806 }, 806 },
807 [DTV_SET_VOLTAGE] = { 807 [DTV_SET_VOLTAGE] = {
@@ -867,14 +867,14 @@ struct dtv_cmds_h dtv_cmds[] = {
867 .set = 0, 867 .set = 0,
868 .buffer = 1, 868 .buffer = 1,
869 }, 869 },
870 [DTV_GET_SYMBOLRATE] = { 870 [DTV_GET_SYMBOL_RATE] = {
871 .name = "DTV_GET_SYMBOLRATE", 871 .name = "DTV_GET_SYMBOL_RATE",
872 .cmd = DTV_GET_SYMBOLRATE, 872 .cmd = DTV_GET_SYMBOL_RATE,
873 .set = 0, 873 .set = 0,
874 }, 874 },
875 [DTV_GET_INNERFEC] = { 875 [DTV_GET_INNER_FEC] = {
876 .name = "DTV_GET_INNERFEC", 876 .name = "DTV_GET_INNER_FEC",
877 .cmd = DTV_GET_INNERFEC, 877 .cmd = DTV_GET_INNER_FEC,
878 .set = 0, 878 .set = 0,
879 }, 879 },
880 [DTV_GET_VOLTAGE] = { 880 [DTV_GET_VOLTAGE] = {
@@ -1201,16 +1201,16 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
1201 case DTV_GET_INVERSION: 1201 case DTV_GET_INVERSION:
1202 tvp->u.data = fe->dtv_property_cache.inversion; 1202 tvp->u.data = fe->dtv_property_cache.inversion;
1203 break; 1203 break;
1204 case DTV_SET_SYMBOLRATE: 1204 case DTV_SET_SYMBOL_RATE:
1205 fe->dtv_property_cache.symbol_rate = tvp->u.data; 1205 fe->dtv_property_cache.symbol_rate = tvp->u.data;
1206 break; 1206 break;
1207 case DTV_GET_SYMBOLRATE: 1207 case DTV_GET_SYMBOL_RATE:
1208 tvp->u.data = fe->dtv_property_cache.symbol_rate; 1208 tvp->u.data = fe->dtv_property_cache.symbol_rate;
1209 break; 1209 break;
1210 case DTV_SET_INNERFEC: 1210 case DTV_SET_INNER_FEC:
1211 fe->dtv_property_cache.fec_inner = tvp->u.data; 1211 fe->dtv_property_cache.fec_inner = tvp->u.data;
1212 break; 1212 break;
1213 case DTV_GET_INNERFEC: 1213 case DTV_GET_INNER_FEC:
1214 tvp->u.data = fe->dtv_property_cache.fec_inner; 1214 tvp->u.data = fe->dtv_property_cache.fec_inner;
1215 break; 1215 break;
1216 case DTV_SET_PILOT: 1216 case DTV_SET_PILOT:
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index f667bf377a7b..bfd670fa16b2 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -259,8 +259,8 @@ typedef enum dtv_cmd_types {
259 DTV_SET_BANDWIDTH, 259 DTV_SET_BANDWIDTH,
260 DTV_SET_INVERSION, 260 DTV_SET_INVERSION,
261 DTV_SET_DISEQC_MASTER, 261 DTV_SET_DISEQC_MASTER,
262 DTV_SET_SYMBOLRATE, 262 DTV_SET_SYMBOL_RATE,
263 DTV_SET_INNERFEC, 263 DTV_SET_INNER_FEC,
264 DTV_SET_VOLTAGE, 264 DTV_SET_VOLTAGE,
265 DTV_SET_TONE, 265 DTV_SET_TONE,
266 DTV_SET_PILOT, 266 DTV_SET_PILOT,
@@ -271,8 +271,8 @@ typedef enum dtv_cmd_types {
271 DTV_GET_BANDWIDTH, 271 DTV_GET_BANDWIDTH,
272 DTV_GET_INVERSION, 272 DTV_GET_INVERSION,
273 DTV_GET_DISEQC_SLAVE_REPLY, 273 DTV_GET_DISEQC_SLAVE_REPLY,
274 DTV_GET_SYMBOLRATE, 274 DTV_GET_SYMBOL_RATE,
275 DTV_GET_INNERFEC, 275 DTV_GET_INNER_FEC,
276 DTV_GET_VOLTAGE, 276 DTV_GET_VOLTAGE,
277 DTV_GET_TONE, 277 DTV_GET_TONE,
278 DTV_GET_PILOT, 278 DTV_GET_PILOT,