[media] stv0367: fix sparse warnings
drivers/media/dvb-frontends/stv0367.c:557:5: warning: symbol 'stv0367cab_RF_LookUp1' was not declared. Should it be static? drivers/media/dvb-frontends/stv0367.c:569:5: warning: symbol 'stv0367cab_RF_LookUp2' was not declared. Should it be static? Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
2954192529
commit
817d2fd4cb
|
@ -554,7 +554,7 @@ static struct st_register def0367ter[STV0367TER_NBREGS] = {
|
|||
#define RF_LOOKUP_TABLE_SIZE 31
|
||||
#define RF_LOOKUP_TABLE2_SIZE 16
|
||||
/* RF Level (for RF AGC->AGC1) Lookup Table, depends on the board and tuner.*/
|
||||
s32 stv0367cab_RF_LookUp1[RF_LOOKUP_TABLE_SIZE][RF_LOOKUP_TABLE_SIZE] = {
|
||||
static const s32 stv0367cab_RF_LookUp1[RF_LOOKUP_TABLE_SIZE][RF_LOOKUP_TABLE_SIZE] = {
|
||||
{/*AGC1*/
|
||||
48, 50, 51, 53, 54, 56, 57, 58, 60, 61, 62, 63,
|
||||
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
||||
|
@ -566,7 +566,7 @@ s32 stv0367cab_RF_LookUp1[RF_LOOKUP_TABLE_SIZE][RF_LOOKUP_TABLE_SIZE] = {
|
|||
}
|
||||
};
|
||||
/* RF Level (for IF AGC->AGC2) Lookup Table, depends on the board and tuner.*/
|
||||
s32 stv0367cab_RF_LookUp2[RF_LOOKUP_TABLE2_SIZE][RF_LOOKUP_TABLE2_SIZE] = {
|
||||
static const s32 stv0367cab_RF_LookUp2[RF_LOOKUP_TABLE2_SIZE][RF_LOOKUP_TABLE2_SIZE] = {
|
||||
{/*AGC2*/
|
||||
28, 29, 31, 32, 34, 35, 36, 37,
|
||||
38, 39, 40, 41, 42, 43, 44, 45,
|
||||
|
|
Loading…
Reference in New Issue