linux_dsm_epyc7002/drivers/net/wireless/intersil
YueHaibing 6ade689711 hostap: hide unused procfs helpers
When CONFIG_PROC_FS isn't set, gcc warning this:

drivers/net/wireless/intersil/hostap/hostap_hw.c:2901:12: warning: ‘prism2_registers_proc_show’ defined but not used [-Wunused-function]
 static int prism2_registers_proc_show(struct seq_file *m, void *v)

drivers/net/wireless/intersil/hostap/hostap_proc.c:16:12: warning: ‘prism2_debug_proc_show’ defined but not used [-Wunused-function]
 static int prism2_debug_proc_show(struct seq_file *m, void *v)
            ^
drivers/net/wireless/intersil/hostap/hostap_proc.c:49:12: warning: ‘prism2_stats_proc_show’ defined but not used [-Wunused-function]
 static int prism2_stats_proc_show(struct seq_file *m, void *v)
            ^
drivers/net/wireless/intersil/hostap/hostap_proc.c:177:12: warning: ‘prism2_crypt_proc_show’ defined but not used [-Wunused-function]
 static int prism2_crypt_proc_show(struct seq_file *m, void *v)
            ^

fix this by adding #ifdef around them.
hfa384x_read_reg is only used by prism2_registers_proc_show,so move it
into #ifdef.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-07-31 10:21:33 +03:00
..
hostap hostap: hide unused procfs helpers 2018-07-31 10:21:33 +03:00
orinoco treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
p54 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
prism54 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile prism54: move under intersil vendor directory 2015-11-18 14:28:31 +02:00