summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/cx25840
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2012-10-27 21:34:31 +0200
committerMauro Carvalho Chehab2012-10-28 10:39:01 +0100
commitefe1724a4fa5840139a9a1aee9089f6854866fa0 (patch)
treed0ba41a46f19fd5e943ade55ad99fac6569d9562 /drivers/media/i2c/cx25840
parent[media] bttv-driver: fix two warnings (diff)
downloadkernel-qcow2-linux-efe1724a4fa5840139a9a1aee9089f6854866fa0.tar.gz
kernel-qcow2-linux-efe1724a4fa5840139a9a1aee9089f6854866fa0.tar.xz
kernel-qcow2-linux-efe1724a4fa5840139a9a1aee9089f6854866fa0.zip
[media] cx25840-core: get rid of warning: no previous prototype
drivers/media/i2c/cx25840/cx25840-core.c:2068:6: warning: no previous prototype for 'cx23885_dif_setup' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/cx25840')
-rw-r--r--drivers/media/i2c/cx25840/cx25840-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/cx25840/cx25840-core.c b/drivers/media/i2c/cx25840/cx25840-core.c
index 2cee69e34184..f4149eb4d7b4 100644
--- a/drivers/media/i2c/cx25840/cx25840-core.c
+++ b/drivers/media/i2c/cx25840/cx25840-core.c
@@ -2065,7 +2065,7 @@ static int cx25840_irq_handler(struct v4l2_subdev *sd, u32 status,
#define DIF_BPF_COEFF3435 (0x38c)
#define DIF_BPF_COEFF36 (0x390)
-void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)
+static void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)
{
u64 pll_freq;
u32 pll_freq_word;