From: Joseph Wright Date: Sun, 16 Jul 2017 14:48:57 +0000 (+0000) Subject: Staging: pi433: declare functions static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7de77a3917e3b84e0bf1306fc26c39f43293a195;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Staging: pi433: declare functions static Declare functions static to fix sparse warnings: warning: symbol 'pi433_receive' was not declared. Should it be static? warning: symbol 'pi433_tx_thread' was not declared. Should it be static? Signed-off-by: Joseph Wright Reviewed-by: Marcus Wolf Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 416d7ad8e9d7..f886bed3ff10 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -313,7 +313,7 @@ pi433_start_rx(struct pi433_device *dev) /*-------------------------------------------------------------------------*/ -int +static int pi433_receive(void *data) { struct pi433_device *dev = data; @@ -463,7 +463,7 @@ abort: return bytes_total; } -int +static int pi433_tx_thread(void *data) { struct pi433_device *device = data;