summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
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/tuners
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/tuners')
-rw-r--r--drivers/media/tuners/r820t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 96ccfeb..a0db64f 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -1545,7 +1545,7 @@ static int r820t_imr_cross(struct r820t_priv *priv,
cross[i].value = rc;
if (cross[i].value < tmp.value)
- memcpy(&tmp, &cross[i], sizeof(tmp));
+ tmp = cross[i];
}
if ((tmp.phase_y & 0x1f) == 1) { /* y-direction */
OpenPOWER on IntegriCloud