linux-stable/drivers/misc/sgi-xp
Lee Jones 95ef32cdef misc: sgi-xp: xp_main: Staticify local functions xp_init() and xp_exit()
These functions are not exported and no external prototypes exist

Fixes W=1 kernel build warning(s):

 drivers/misc/sgi-xp/xp_main.c:227:1: warning: no previous prototype for ‘xp_init’ [-Wmissing-prototypes]
 227 | xp_init(void)
 | ^~~~~~~
 drivers/misc/sgi-xp/xp_main.c:250:1: warning: no previous prototype for ‘xp_exit’ [-Wmissing-prototypes]
 250 | xp_exit(void)
 | ^~~~~~~

Cc: Cliff Whickman <cpw@sgi.com>
Cc: Robin Holt <robinmholt@gmail.com>
Cc: Dean Nelson <dcn@sgi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200701083118.45744-5-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-01 15:08:02 +02:00
..
Makefile misc/sgi-xp: remove SGI SN2 support 2019-08-16 11:33:56 -07:00
xp.h misc/sgi-xp: remove SGI SN2 support 2019-08-16 11:33:56 -07:00
xp_main.c misc: sgi-xp: xp_main: Staticify local functions xp_init() and xp_exit() 2020-07-01 15:08:02 +02:00
xp_uv.c ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
xpc.h misc/sgi-xp: remove SGI SN2 support 2019-08-16 11:33:56 -07:00
xpc_channel.c sgi-xp: Replace spin_is_locked() with lockdep 2018-10-15 20:54:17 +02:00
xpc_main.c sgi-xp: make some symbols static in xpc_main.c 2020-04-23 16:55:23 +02:00
xpc_partition.c misc/sgi-xp: remove SGI SN2 support 2019-08-16 11:33:56 -07:00
xpc_uv.c Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
xpnet.c sgi-xp: make some symbols static in xpnet.c 2020-04-23 16:55:23 +02:00