V4L/DVB (8997): S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FEC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 3:13 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=177b86...
Commit:     177b868d93861077619261dcecd0147d1c033026
Parent:     e7fee0f3aa111d42cdcfc1470cfdc21dde0cdbe2
Author:     Steven Toth <stoth@linuxtv.org>
AuthorDate: Thu Sep 11 10:34:19 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Sun Oct 12 09:37:04 2008 -0200

    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>
---
 drivers/media/dvb/dvb-core/dvb_frontend.c |   32 ++++++++++++++--------------
 include/linux/dvb/frontend.h              |    8 +++---
 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 763da96..ce1de40 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[] = {
 		.set	= 1,
 		.buffer	= 1,
 	},
-	[DTV_SET_SYMBOLRATE] = {
-		.name	= "DTV_SET_SYMBOLRATE",
-		.cmd	= DTV_SET_SYMBOLRATE,
+	[DTV_SET_SYMBOL_RATE] = {
+		.name	= "DTV_SET_SYMBOL_RATE",
+		.cmd	= DTV_SET_SYMBOL_RATE,
 		.set	= 1,
 	},
-	[DTV_SET_INNERFEC] = {
-		.name	= "DTV_SET_INNERFEC",
-		.cmd	= DTV_SET_INNERFEC,
+	[DTV_SET_INNER_FEC] = {
+		.name	= "DTV_SET_INNER_FEC",
+		.cmd	= DTV_SET_INNER_FEC,
 		.set	= 1,
 	},
 	[DTV_SET_VOLTAGE] = {
@@ -867,14 +867,14 @@ struct dtv_cmds_h dtv_cmds[] = {
 		.set	= 0,
 		.buffer	= 1,
 	},
-	[DTV_GET_SYMBOLRATE] = {
-		.name	= "DTV_GET_SYMBOLRATE",
-		.cmd	= DTV_GET_SYMBOLRATE,
+	[DTV_GET_SYMBOL_RATE] = {
+		.name	= "DTV_GET_SYMBOL_RATE",
+		.cmd	= DTV_GET_SYMBOL_RATE,
 		.set	= 0,
 	},
-	[DTV_GET_INNERFEC] = {
-		.name	= "DTV_GET_INNERFEC",
-		.cmd	= DTV_GET_INNERFEC,
+	[DTV_GET_INNER_FEC] = {
+		.name	= "DTV_GET_INNER_FEC",
+		.cmd	= DTV_GET_INNER_FEC,
 		.set	= 0,
 	},
 	[DTV_GET_VOLTAGE] = {
@@ -1201,16 +1201,16 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
 	case DTV_GET_INVERSION:
 		tvp->u.data = fe->dtv_property_cache.inversion;
 		break;
-	case DTV_SET_SYMBOLRATE:
+	case DTV_SET_SYMBOL_RATE:
 		fe->dtv_property_cache.symbol_rate = tvp->u.data;
 		break;
-	case DTV_GET_SYMBOLRATE:
+	case DTV_GET_SYMBOL_RATE:
 		tvp->u.data = fe->dtv_property_cache.symbol_rate;
 		break;
-	case DTV_SET_INNERFEC:
+	case DTV_SET_INNER_FEC:
 		fe->dtv_property_cache.fec_inner = tvp->u.data;
 		break;
-	case DTV_GET_INNERFEC:
+	case DTV_GET_INNER_FEC:
 		tvp->u.data = fe->dtv_property_cache.fec_inner;
 		break;
 	case DTV_SET_PILOT:
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index f667bf3..bfd670f 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -259,8 +259,8 @@ typedef enum dtv_cmd_types {
 	DTV_SET_BANDWIDTH,
 	DTV_SET_INVERSION,
 	DTV_SET_DISEQC_MASTER,
-	DTV_SET_SYMBOLRATE,
-	DTV_SET_INNERFEC,
+	DTV_SET_SYMBOL_RATE,
+	DTV_SET_INNER_FEC,
 	DTV_SET_VOLTAGE,
 	DTV_SET_TONE,
 	DTV_SET_PILOT,
@@ -271,8 +271,8 @@ typedef enum dtv_cmd_types {
 	DTV_GET_BANDWIDTH,
 	DTV_GET_INVERSION,
 	DTV_GET_DISEQC_SLAVE_REPLY,
-	DTV_GET_SYMBOLRATE,
-	DTV_GET_INNERFEC,
+	DTV_GET_SYMBOL_RATE,
+	DTV_GET_INNER_FEC,
 	DTV_GET_VOLTAGE,
 	DTV_GET_TONE,
 	DTV_GET_PILOT,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
V4L/DVB (8997): S2API: Cleanup SYMBOLRATE, INNERFEC -> SYM ..., Linux Kernel Mailing ..., (Mon Oct 13, 3:13 pm)