Skip to content
Commit 06d05463 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Kalle Valo
Browse files

rtl8xxxu: hide unused tables



The references to some arrays in the rtl8xxxu driver were moved inside
of an #ifdef, but the symbols remain outside, resulting in build warnings:

rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' defined but not used
rtl8xxxu/rtl8xxxu.c:1431:33: error: 'rtl8192cu_radioa_1t_init_table' defined but not used
rtl8xxxu/rtl8xxxu.c:1407:33: error: 'rtl8192cu_radiob_2t_init_table' defined but not used
rtl8xxxu/rtl8xxxu.c:1332:33: error: 'rtl8192cu_radioa_2t_init_table' defined but not used
rtl8xxxu/rtl8xxxu.c:239:35: error: 'rtl8192c_power_base' defined but not used
rtl8xxxu/rtl8xxxu.c:217:35: error: 'rtl8188r_power_base' defined but not used

This adds an extra #ifdef around them to shut up the warnings.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 2fc0b8e5 ("rtl8xxxu: Add TX power base values for gen1 parts")
Fixes: 4062b8ff ("rtl8xxxu: Move PHY RF init into device specific functions")
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 171a900c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment