linux_dsm_epyc7002/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 isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_multi.h mISDN: Added support for fragmentation of E1 interfaces of hfcmulti driver. 2012-04-26 05:21:03 -04:00
hfc_pci.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
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 ISDN: Add check for usb_alloc_urb() result 2012-07-18 09:40:54 -07:00
hfcsusb.h mISDN: Add X-Tensions USB ISDN TA XC-525 2012-05-22 15:19:01 -04:00
iohelper.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ipac.h mISDN: Support DR6 indication in mISDNipac driver 2016-03-14 15:51:29 -04:00
isar.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Kconfig kconfig: use bool instead of boolean for type definition attributes 2015-01-07 13:08:04 +01:00
Makefile mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
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 isdn: Fix typo in drivers/isdn 2012-11-09 17:10:16 -05:00
netjet.c mISDN: prevent possible NULL pointer dereference 2016-02-18 14:59:35 -05:00
netjet.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
speedfax.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
w6692.c mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
w6692.h mISDN: Add driver for Winbond cards 2009-07-25 20:21:28 +02:00