linux/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
..
avmfritz.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
hfc_multi_8xx.h
hfc_multi.h
hfc_pci.h
hfcmulti.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
hfcpci.c mISDN: replace current->state by set_current_state() 2015-02-22 15:24:10 -05:00
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
Kconfig kconfig: use bool instead of boolean for type definition attributes 2015-01-07 13:08:04 +01:00
Makefile
mISDNinfineon.c treewide: Fix typo in printk messages 2015-03-06 23:05:39 +01:00
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