From: Mauro Carvalho Chehab Date: Sat, 27 Oct 2012 19:34:31 +0000 (-0300) Subject: [media] cx25840-core: get rid of warning: no previous prototype X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efe1724a4fa5840139a9a1aee9089f6854866fa0;p=openwrt%2Fstaging%2Fblogic.git [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 --- 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;