summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2013-10-23 21:29:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-27 06:35:54 -0700
commit40c2f5512c8872593d23cca9fb2508938e781646 (patch)
tree9c240970babe2ec0ddfe5ceee5f808cbe39580ce
parenta5b7151504de553b086f76082e348fdb8474ba12 (diff)
downloadop-kernel-dev-40c2f5512c8872593d23cca9fb2508938e781646.zip
op-kernel-dev-40c2f5512c8872593d23cca9fb2508938e781646.tar.gz
Staging: ft1000: Fix Sparse Warning for Static Declarations in ft1000_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>
-rw-r--r--drivers/staging/ft1000/ft1000-usb/ft1000_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
index 9b8fed7..c99ee75 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
@@ -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;
OpenPOWER on IntegriCloud