2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00

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 <rjosephwright@gmail.com>
Reviewed-by: Marcus Wolf <linux@wolf-entwicklungen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Joseph Wright 2017-07-16 14:48:57 +00:00 committed by Greg Kroah-Hartman
parent 0119a48b69
commit 7de77a3917

View File

@ -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;