mt76: mt7921: make read-only array ppet16_ppet8_ru3_ru0 static const
authorColin Ian King <colin.i.king@gmail.com>
Thu, 14 Apr 2022 09:54:38 +0000 (10:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000 (09:39 +0200)
commitdeb0891bad7c05b66867bc68a26849eb83281f70
treea4af65e3b0390b63dfd73f75493adbc86501a8bc
parentb57a5bb0170a54f6f3b2dbb9624b1093d9abb878
mt76: mt7921: make read-only array ppet16_ppet8_ru3_ru0 static const

Don't populate the read-only array ppet16_ppet8_ru3_ru0 on the stack but
instead make it static const. Also makes the object code a little smaller.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/main.c