From: Mauro Carvalho Chehab Date: Sat, 27 Oct 2012 16:43:05 +0000 (-0300) Subject: [media] radio-sf16fmi: get rid of warning: no previous prototype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5133b17df6b4a8d68f39a89967938d87d892a46;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] radio-sf16fmi: get rid of warning: no previous prototype drivers/media/radio/radio-sf16fmi.c:67:6: warning: no previous prototype for 'fmi_set_pins' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c index 227dcdb54df3..c260a2a354b1 100644 --- a/drivers/media/radio/radio-sf16fmi.c +++ b/drivers/media/radio/radio-sf16fmi.c @@ -64,7 +64,7 @@ bool pnp_attached; #define FMI_BIT_VOL_SW (1 << 3) #define FMI_BIT_TUN_STRQ (1 << 4) -void fmi_set_pins(void *handle, u8 pins) +static void fmi_set_pins(void *handle, u8 pins) { struct fmi *fmi = handle; u8 bits = FMI_BIT_TUN_STRQ;