rtl8xxxu: fix unused rtl8192cu_fops compiler warning
authorKalle Valo <kvalo@codeaurora.org>
Sun, 25 Oct 2015 16:24:38 +0000 (18:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Oct 2015 16:06:10 +0000 (18:06 +0200)
commitc0963772cbbf1b7dc9fad4497f3aba8526bb07d6
tree642434074cb59eb450ef5a00b53912ec221f2c1f
parent033695bdf6d79180f74893830053fcf3e8bc9d24
rtl8xxxu: fix unused rtl8192cu_fops compiler warning

kbuild reported:

rtl8xxxu.c:5786:32: warning: ‘rtl8192cu_fops’ defined but not used [-Wunused-variable]

Fix it by adding temporary ifdefs around the static functions.

Fixes: 033695bdf6d7 ("rtl8xxxu: move devices supported by rtlwifi under UNTESTED config")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c