Staging: ft1000: Fix Sparse Warning for Static Declarations in ft1000_hw.c
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Wed, 23 Oct 2013 18:29:22 +0000 (21:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 13:35:54 +0000 (06:35 -0700)
This patch fixes the Sparse Warning: "symbol 'ft1000_reset'
was not declared. Should it be static?" in ft1000_hw.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c

index 9b8fed7b405b141ac234821b1a0ddfc0b7347326..c99ee7530aa265abb8995179a676a641a37a1089 100644 (file)
@@ -854,7 +854,7 @@ int reg_ft1000_netdev(struct ft1000_usb *ft1000dev,
        return 0;
 }
 
-int ft1000_reset(void *dev)
+static int ft1000_reset(void *dev)
 {
        ft1000_reset_card(dev);
        return 0;