]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[media] siano: define SRVM_MAX_PID_FILTERS only once
authorFabian Frederick <fabf@skynet.be>
Sat, 2 May 2015 20:07:45 +0000 (17:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 20:01:44 +0000 (17:01 -0300)
SRVM_MAX_PID_FILTERS was defined in 2 sms_tx_stats structures

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/common/siano/smscoreapi.h

index eb8bd689b936621b95e4d02df534616d5a5afa85..4cc39e4a8318257488a6538cfb4e88523e3a6841 100644 (file)
@@ -1010,6 +1010,7 @@ struct sms_rx_stats_ex {
        s32 mrc_in_band_pwr;    /* In band power in dBM */
 };
 
+#define        SRVM_MAX_PID_FILTERS 8
 
 /* statistics information returned as response for
  * SmsHostApiGetstatisticsEx_Req for DVB applications, SMS1100 and up */
@@ -1021,7 +1022,6 @@ struct sms_stats_dvb {
        struct sms_tx_stats transmission_data;
 
        /* Burst parameters, valid only for DVB-H */
-#define        SRVM_MAX_PID_FILTERS 8
        struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS];
 };
 
@@ -1035,7 +1035,6 @@ struct sms_stats_dvb_ex {
        struct sms_tx_stats transmission_data;
 
        /* Burst parameters, valid only for DVB-H */
-#define        SRVM_MAX_PID_FILTERS 8
        struct sms_pid_data pid_data[SRVM_MAX_PID_FILTERS];
 };