summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda18271c2dd_maps.h
diff options
context:
space:
mode:
authorAlan <gnomes@lxorguk.ukuu.org.uk>2014-01-20 15:03:04 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 15:33:46 -0300
commit690130fe0b4c1a72c931e9aafbec8f21dbeed20c (patch)
tree4fd3b2f05ee774563b18e7913847f43d527604bc /drivers/media/dvb-frontends/tda18271c2dd_maps.h
parentb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f (diff)
downloadop-kernel-dev-690130fe0b4c1a72c931e9aafbec8f21dbeed20c.zip
op-kernel-dev-690130fe0b4c1a72c931e9aafbec8f21dbeed20c.tar.gz
[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.h8
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 b87661b..f3bca5c 100644
--- a/drivers/media/dvb-frontends/tda18271c2dd_maps.h
+++ b/drivers/media/dvb-frontends/tda18271c2dd_maps.h
@@ -5,7 +5,7 @@ enum HF_S {
HF_DVBC_8MHZ, HF_DVBC
};
-struct SStandardParam m_StandardTable[] = {
+static struct SStandardParam m_StandardTable[] = {
{ 0, 0, 0x00, 0x00 }, /* HF_None */
{ 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */
{ 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */
@@ -27,7 +27,7 @@ struct SStandardParam m_StandardTable[] = {
{ 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */
};
-struct SMap m_BP_Filter_Map[] = {
+static struct SMap m_BP_Filter_Map[] = {
{ 62000000, 0x00 },
{ 84000000, 0x01 },
{ 100000000, 0x02 },
@@ -799,14 +799,14 @@ static struct SRFBandMap m_RF_Band_Map[7] = {
{ 865000000, 489500000, 697500000, 842000000},
};
-u8 m_Thermometer_Map_1[16] = {
+static u8 m_Thermometer_Map_1[16] = {
60, 62, 66, 64,
74, 72, 68, 70,
90, 88, 84, 86,
76, 78, 82, 80,
};
-u8 m_Thermometer_Map_2[16] = {
+static u8 m_Thermometer_Map_2[16] = {
92, 94, 98, 96,
106, 104, 100, 102,
122, 120, 116, 118,
OpenPOWER on IntegriCloud