Skip to content

Commit

Permalink
Staging: ft1000: Fix Sparse Warning for Static Declarations in ft1000…
Browse files Browse the repository at this point in the history
…_hw.c

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>
  • Loading branch information
Ebru Akagunduz authored and Greg Kroah-Hartman committed Oct 27, 2013
1 parent a5b7151 commit 40c2f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40c2f55

Please sign in to comment.