Commit f5d39078 authored by Fabian Frederick's avatar Fabian Frederick Committed by Mauro Carvalho Chehab

[media] siano: define SRVM_MAX_PID_FILTERS only once

SRVM_MAX_PID_FILTERS was defined in 2 sms_tx_stats structures
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 44d6ac60
...@@ -1010,6 +1010,7 @@ struct sms_rx_stats_ex { ...@@ -1010,6 +1010,7 @@ struct sms_rx_stats_ex {
s32 mrc_in_band_pwr; /* In band power in dBM */ s32 mrc_in_band_pwr; /* In band power in dBM */
}; };
#define SRVM_MAX_PID_FILTERS 8
/* statistics information returned as response for /* statistics information returned as response for
* SmsHostApiGetstatisticsEx_Req for DVB applications, SMS1100 and up */ * SmsHostApiGetstatisticsEx_Req for DVB applications, SMS1100 and up */
...@@ -1021,7 +1022,6 @@ struct sms_stats_dvb { ...@@ -1021,7 +1022,6 @@ struct sms_stats_dvb {
struct sms_tx_stats transmission_data; struct sms_tx_stats transmission_data;
/* Burst parameters, valid only for DVB-H */ /* Burst parameters, valid only for DVB-H */
#define SRVM_MAX_PID_FILTERS 8
struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS]; struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS];
}; };
...@@ -1035,7 +1035,6 @@ struct sms_stats_dvb_ex { ...@@ -1035,7 +1035,6 @@ struct sms_stats_dvb_ex {
struct sms_tx_stats transmission_data; struct sms_tx_stats transmission_data;
/* Burst parameters, valid only for DVB-H */ /* Burst parameters, valid only for DVB-H */
#define SRVM_MAX_PID_FILTERS 8
struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS]; struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment