[media] radio-sf16fmi: get rid of warning: no previous prototype
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 16:43:05 +0000 (13:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 20:08:13 +0000 (18:08 -0200)
drivers/media/radio/radio-sf16fmi.c:67:6: warning: no previous prototype for 'fmi_set_pins' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-sf16fmi.c

index 227dcdb54df358235111f42518686b404317b76a..c260a2a354b1d0ab7eabaa3c0166c44df1682c67 100644 (file)
@@ -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;