From 2cef96393f5ab5e47fc2c11f1bbf92b650bc6d89 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 23 Jan 2013 19:16:42 -0200 Subject: [PATCH] dvb: Rename a few DVB statistics At the last moment, a few DVB stats properties got renamed. Their meaning didn't change, so the only thing it is needed is to synchronize with the new nomenclature. Signed-off-by: Mauro Carvalho Chehab --- contrib/freebsd/include/linux/dvb/frontend.h | 4 ++-- lib/include/dvb-frontend.h | 4 ++-- lib/libdvbv5/dvb-v5.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/freebsd/include/linux/dvb/frontend.h b/contrib/freebsd/include/linux/dvb/frontend.h index 3d14065..d36dbfc 100644 --- a/contrib/freebsd/include/linux/dvb/frontend.h +++ b/contrib/freebsd/include/linux/dvb/frontend.h @@ -369,9 +369,9 @@ struct dvb_frontend_event { /* Quality parameters */ #define DTV_STAT_SIGNAL_STRENGTH 62 #define DTV_STAT_CNR 63 -#define DTV_STAT_PRE_BIT_ERROR_COUNT 64 +#define DTV_STAT_PRE_ERROR_BIT_COUNT 64 #define DTV_STAT_PRE_TOTAL_BIT_COUNT 65 -#define DTV_STAT_POST_BIT_ERROR_COUNT 66 +#define DTV_STAT_POST_ERROR_BIT_COUNT 66 #define DTV_STAT_POST_TOTAL_BIT_COUNT 67 #define DTV_STAT_ERROR_BLOCK_COUNT 68 #define DTV_STAT_TOTAL_BLOCK_COUNT 69 diff --git a/lib/include/dvb-frontend.h b/lib/include/dvb-frontend.h index 1913a36..c56d77c 100644 --- a/lib/include/dvb-frontend.h +++ b/lib/include/dvb-frontend.h @@ -368,9 +368,9 @@ struct dvb_frontend_event { /* Quality parameters */ #define DTV_STAT_SIGNAL_STRENGTH 62 #define DTV_STAT_CNR 63 -#define DTV_STAT_PRE_BIT_ERROR_COUNT 64 +#define DTV_STAT_PRE_ERROR_BIT_COUNT 64 #define DTV_STAT_PRE_TOTAL_BIT_COUNT 65 -#define DTV_STAT_POST_BIT_ERROR_COUNT 66 +#define DTV_STAT_POST_ERROR_BIT_COUNT 66 #define DTV_STAT_POST_TOTAL_BIT_COUNT 67 #define DTV_STAT_ERROR_BLOCK_COUNT 68 #define DTV_STAT_TOTAL_BLOCK_COUNT 69 diff --git a/lib/libdvbv5/dvb-v5.c b/lib/libdvbv5/dvb-v5.c index 2954a33..ade44f1 100644 --- a/lib/libdvbv5/dvb-v5.c +++ b/lib/libdvbv5/dvb-v5.c @@ -225,9 +225,9 @@ const char *dvb_v5_name[71] = { [DTV_ROLLOFF] = "ROLLOFF", [DTV_STAT_CNR] = "STAT_CNR", [DTV_STAT_ERROR_BLOCK_COUNT] = "STAT_ERROR_BLOCK_COUNT", - [DTV_STAT_POST_BIT_ERROR_COUNT] = "STAT_POST_BIT_ERROR_COUNT", + [DTV_STAT_POST_ERROR_BIT_COUNT] = "STAT_POST_ERROR_BIT_COUNT", [DTV_STAT_POST_TOTAL_BIT_COUNT] = "STAT_POST_TOTAL_BIT_COUNT", - [DTV_STAT_PRE_BIT_ERROR_COUNT] = "STAT_PRE_BIT_ERROR_COUNT", + [DTV_STAT_PRE_ERROR_BIT_COUNT] = "STAT_PRE_ERROR_BIT_COUNT", [DTV_STAT_PRE_TOTAL_BIT_COUNT] = "STAT_PRE_TOTAL_BIT_COUNT", [DTV_STAT_SIGNAL_STRENGTH] = "STAT_SIGNAL_STRENGTH", [DTV_STAT_TOTAL_BLOCK_COUNT] = "STAT_TOTAL_BLOCK_COUNT", -- 2.7.4