OSDN Git Service

staging: pi433: Make functions rf69_set_bandwidth_intern static
authorColin Ian King <colin.king@canonical.com>
Tue, 18 Jul 2017 13:03:59 +0000 (14:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Jul 2017 23:59:16 +0000 (16:59 -0700)
commit775f6ab013d3166600f49df4916fdbfdbbfa15fe
treebfe9bb124faf9294db93fb241c9779e1f60da0a0
parentc7d42f37087d27a88b2ad27fa7e577f184ce5765
staging: pi433: Make functions rf69_set_bandwidth_intern static

The function rf69_set_bandwidth_intern is local to the source
and do not need to be in global scope, so make it static. Also
break overly wide line.

Cleans up sparse warning:
symbol 'update_share_count' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Marcus Wolf <linux@wolf-entwicklungen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c