OpenCloudOS-Kernel/drivers/isdn/capi
Randy Dunlap 20fbdc3572 isdn/capi: fix defined but not used warnings
Fix build warnings in drivers/isdn/capi/ when CONFIG_PROC_FS is not
enabled by marking the unused functions as __maybe_unused.

../drivers/isdn/capi/capi.c:1324:12: warning: 'capi20_proc_show' defined but not used [-Wunused-function]
../drivers/isdn/capi/capi.c:1347:12: warning: 'capi20ncci_proc_show' defined but not used [-Wunused-function]
../drivers/isdn/capi/capidrv.c:2454:12: warning: 'capidrv_proc_show' defined but not used [-Wunused-function]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: isdn4linux@listserv.isdn4linux.de (subscribers-only)
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-08 11:00:50 +09:00
..
Kconfig isdn/capi: fix (middleware) device nodes 2014-06-04 23:13:41 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
capi.c isdn/capi: fix defined but not used warnings 2018-07-08 11:00:50 +09:00
capidrv.c isdn/capi: fix defined but not used warnings 2018-07-08 11:00:50 +09:00
capidrv.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capilib.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
capiutil.c isdn/capi: correct argument types of command_2_index 2014-12-10 15:06:10 -05:00
kcapi.c isdn: replace ->proc_fops with ->proc_show 2018-05-16 07:24:30 +02:00
kcapi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi_proc.c proc: introduce proc_create_seq{,_data} 2018-05-16 07:23:35 +02:00