diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-03-21 03:07:07 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-03-21 03:07:07 +0000 |
commit | e0f6ebb0d7b61eeda8208a0cdf2667790c03547a (patch) | |
tree | 0123062e4d8e71184e7208a79a6ab8f882409786 /linux/drivers/media/dvb/frontends/or51132.c | |
parent | aff768658631c6dba005794dafa6f72037d3a9bd (diff) | |
download | mediapointer-dvb-s2-e0f6ebb0d7b61eeda8208a0cdf2667790c03547a.tar.gz mediapointer-dvb-s2-e0f6ebb0d7b61eeda8208a0cdf2667790c03547a.tar.bz2 |
make logarithm stuff static (conflicts; BTW, we now have already
two copies of this cruft -> should be factored out)
Diffstat (limited to 'linux/drivers/media/dvb/frontends/or51132.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/or51132.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/or51132.c b/linux/drivers/media/dvb/frontends/or51132.c index 6183e83ad..c8ba1b5f4 100644 --- a/linux/drivers/media/dvb/frontends/or51132.c +++ b/linux/drivers/media/dvb/frontends/or51132.c @@ -422,7 +422,7 @@ static int or51132_read_status(struct dvb_frontend* fe, fe_status_t* status) } /* log10-1 table at .5 increments from 1 to 100.5 */ -unsigned int i100x20log10[] = { +static unsigned int i100x20log10[] = { 0, 352, 602, 795, 954, 1088, 1204, 1306, 1397, 1480, 1556, 1625, 1690, 1750, 1806, 1858, 1908, 1955, 2000, 2042, 2082, 2121, 2158, 2193, 2227, 2260, 2292, 2322, 2352, 2380, @@ -445,9 +445,9 @@ unsigned int i100x20log10[] = { 3964, 3969, 3973, 3978, 3982, 3986, 3991, 3995, 4000, 4004, }; -unsigned int denom[] = {1,1,100,1000,10000,100000,1000000,10000000,100000000}; +static unsigned int denom[] = {1,1,100,1000,10000,100000,1000000,10000000,100000000}; -unsigned int i20Log10(unsigned short val) +static unsigned int i20Log10(unsigned short val) { unsigned int rntval = 100; unsigned int tmp = val; @@ -470,7 +470,7 @@ static int or51132_read_signal_strength(struct dvb_frontend* fe, u16* strength) u8 rcvr_stat; u16 snr_equ; int usK; - + snd_buf[0]=0x04; snd_buf[1]=0x02; /* SNR after Equalizer */ msleep(30); /* 30ms */ |