WSL2-Linux-Kernel/drivers/isdn/hardware/mISDN
Baoyou Xie 569e937e01 mISDN: mark symbols static where possible
We get a few warnings when building kernel with W=1:
drivers/isdn/hardware/mISDN/hfcmulti.c:568:1: warning: no previous declaration for 'enablepcibridge' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:574:1: warning: no previous declaration for 'disablepcibridge' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:580:1: warning: no previous declaration for 'readpcibridge' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:608:1: warning: no previous declaration for 'writepcibridge' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:638:1: warning: no previous declaration for 'cpld_set_reg' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:645:1: warning: no previous declaration for 'cpld_write_reg' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:657:1: warning: no previous declaration for 'cpld_read_reg' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:674:1: warning: no previous declaration for 'vpm_write_address' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:681:1: warning: no previous declaration for 'vpm_read_address' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:695:1: warning: no previous declaration for 'vpm_in' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:716:1: warning: no previous declaration for 'vpm_out' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:1028:1: warning: no previous declaration for 'plxsd_checksync' [-Wmissing-declarations]
....

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-01 23:36:17 -07:00
..
Kconfig
Makefile
avmfritz.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
hfc_multi.h
hfc_multi_8xx.h
hfc_pci.h
hfcmulti.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
hfcpci.c
hfcsusb.c
hfcsusb.h
iohelper.h
ipac.h mISDN: Support DR6 indication in mISDNipac driver 2016-03-14 15:51:29 -04:00
isar.h
mISDNinfineon.c
mISDNipac.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
mISDNisar.c
netjet.c mISDN: prevent possible NULL pointer dereference 2016-02-18 14:59:35 -05:00
netjet.h
speedfax.c
w6692.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
w6692.h