Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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)
		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;