diff options
author | Joseph Wright <rjosephwright@gmail.com> | 2017-07-16 17:48:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-29 02:57:26 +0300 |
commit | 7de77a3917e3b84e0bf1306fc26c39f43293a195 (patch) | |
tree | 0a788947cb4309babd7d95b248517694f4f410e4 /drivers | |
parent | 0119a48b69feae3331c26a041445d3f2992b6b39 (diff) | |
download | linux-7de77a3917e3b84e0bf1306fc26c39f43293a195.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |