commit | 8b8f3278d241658a7dcb95cefc9793ac85a43c3a | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Fri Jul 13 14:46:58 2018 +0800 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Jul 31 10:20:57 2018 +0300 |
tree | 0526ff32ce53c3683460a833350a6ed9c77b90fa | |
parent | f21bcefcf91cc4549966e67debd082a2cb14bf73 [diff] |
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>