From: Ebru Akagunduz Date: Wed, 23 Oct 2013 18:29:22 +0000 (+0300) Subject: Staging: ft1000: Fix Sparse Warning for Static Declarations in ft1000_hw.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40c2f5512c8872593d23cca9fb2508938e781646;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Rusty Russell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c index 9b8fed7b405b..c99ee7530aa2 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;