diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2014-01-20 13:03:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-04 14:33:46 -0400 |
commit | 690130fe0b4c1a72c931e9aafbec8f21dbeed20c (patch) | |
tree | 4fd3b2f05ee774563b18e7913847f43d527604bc /drivers/media/dvb-frontends/tda18271c2dd_maps.h | |
parent | b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f (diff) |
[media] dvb-frontends: Add static
Add static to tda m_* variables in the header. They don't need to be global.
With some cleanup they could probably even be marked const.
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=68191
Reported-by: Christian Schneider <christian@ch-sc.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tda18271c2dd_maps.h')
-rw-r--r-- | drivers/media/dvb-frontends/tda18271c2dd_maps.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb-frontends/tda18271c2dd_maps.h b/drivers/media/dvb-frontends/tda18271c2dd_maps.h index b87661b9df14..f3bca5c237d7 100644 --- a/drivers/media/dvb-frontends/tda18271c2dd_maps.h +++ b/drivers/media/dvb-frontends/tda18271c2dd_maps.h | |||
@@ -5,7 +5,7 @@ enum HF_S { | |||
5 | HF_DVBC_8MHZ, HF_DVBC | 5 | HF_DVBC_8MHZ, HF_DVBC |
6 | }; | 6 | }; |
7 | 7 | ||
8 | struct SStandardParam m_StandardTable[] = { | 8 | static struct SStandardParam m_StandardTable[] = { |
9 | { 0, 0, 0x00, 0x00 }, /* HF_None */ | 9 | { 0, 0, 0x00, 0x00 }, /* HF_None */ |
10 | { 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */ | 10 | { 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */ |
11 | { 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */ | 11 | { 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */ |
@@ -27,7 +27,7 @@ struct SStandardParam m_StandardTable[] = { | |||
27 | { 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */ | 27 | { 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */ |
28 | }; | 28 | }; |
29 | 29 | ||
30 | struct SMap m_BP_Filter_Map[] = { | 30 | static struct SMap m_BP_Filter_Map[] = { |
31 | { 62000000, 0x00 }, | 31 | { 62000000, 0x00 }, |
32 | { 84000000, 0x01 }, | 32 | { 84000000, 0x01 }, |
33 | { 100000000, 0x02 }, | 33 | { 100000000, 0x02 }, |
@@ -799,14 +799,14 @@ static struct SRFBandMap m_RF_Band_Map[7] = { | |||
799 | { 865000000, 489500000, 697500000, 842000000}, | 799 | { 865000000, 489500000, 697500000, 842000000}, |
800 | }; | 800 | }; |
801 | 801 | ||
802 | u8 m_Thermometer_Map_1[16] = { | 802 | static u8 m_Thermometer_Map_1[16] = { |
803 | 60, 62, 66, 64, | 803 | 60, 62, 66, 64, |
804 | 74, 72, 68, 70, | 804 | 74, 72, 68, 70, |
805 | 90, 88, 84, 86, | 805 | 90, 88, 84, 86, |
806 | 76, 78, 82, 80, | 806 | 76, 78, 82, 80, |
807 | }; | 807 | }; |
808 | 808 | ||
809 | u8 m_Thermometer_Map_2[16] = { | 809 | static u8 m_Thermometer_Map_2[16] = { |
810 | 92, 94, 98, 96, | 810 | 92, 94, 98, 96, |
811 | 106, 104, 100, 102, | 811 | 106, 104, 100, 102, |
812 | 122, 120, 116, 118, | 812 | 122, 120, 116, 118, |