rtlwifi: Use const in 8188ee/8723be/8821ae swing_table declarations
[linux-2.6-microblaze.git] / drivers / net / wireless / realtek / rtlwifi / rtl8188ee / dm.c
index dceb04a..1ffa188 100644 (file)
@@ -870,11 +870,11 @@ static void dm_txpower_track_cb_therm(struct ieee80211_hw *hw)
        /*0.1 the following TWO tables decide the
         *final index of OFDM/CCK swing table
         */
-       s8 delta_swing_table_idx[2][15]  = {
+       static const s8 delta_swing_table_idx[2][15]  = {
                {0, 0, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 10, 11},
                {0, 0, -1, -2, -3, -4, -4, -4, -4, -5, -7, -8, -9, -9, -10}
        };
-       u8 thermal_threshold[2][15] = {
+       static const u8 thermal_threshold[2][15] = {
                {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 27},
                {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 25, 25, 25}
        };