atmel: hide unused procfs helpers
authorYueHaibing <yuehaibing@huawei.com>
Fri, 13 Jul 2018 06:46:58 +0000 (14:46 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:20:57 +0000 (10:20 +0300)
commit8b8f3278d241658a7dcb95cefc9793ac85a43c3a
tree0526ff32ce53c3683460a833350a6ed9c77b90fa
parentf21bcefcf91cc4549966e67debd082a2cb14bf73
atmel: hide unused procfs helpers

When CONFIG_PROC_FS isn't set, gcc warning this:

drivers/net/wireless/atmel/atmel.c:1402:12: warning: ‘atmel_proc_show’ defined but not used [-Wunused-function]
 static int atmel_proc_show(struct seq_file *m, void *v)
            ^
fix this by adding #ifdef around it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/atmel/atmel.c