Commit 7de77a39 authored by Joseph Wright's avatar Joseph Wright Committed by Greg Kroah-Hartman

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: default avatarJoseph Wright <rjosephwright@gmail.com>
Reviewed-by: default avatarMarcus Wolf <linux@wolf-entwicklungen.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0119a48b
...@@ -313,7 +313,7 @@ pi433_start_rx(struct pi433_device *dev) ...@@ -313,7 +313,7 @@ pi433_start_rx(struct pi433_device *dev)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
int static int
pi433_receive(void *data) pi433_receive(void *data)
{ {
struct pi433_device *dev = data; struct pi433_device *dev = data;
...@@ -463,7 +463,7 @@ pi433_receive(void *data) ...@@ -463,7 +463,7 @@ pi433_receive(void *data)
return bytes_total; return bytes_total;
} }
int static int
pi433_tx_thread(void *data) pi433_tx_thread(void *data)
{ {
struct pi433_device *device = data; struct pi433_device *device = data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment