mt76: mt7915: make read-only array ppet16_ppet8_ru3_ru0 static const
authorColin Ian King <colin.i.king@gmail.com>
Thu, 14 Apr 2022 09:50:07 +0000 (10:50 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000 (09:39 +0200)
commitb57a5bb0170a54f6f3b2dbb9624b1093d9abb878
treeb55aaad6d91d3a05da1ae9bfaa03c516825e78bc
parent74752f5367ab42786c06bce01b707d23215deabe
mt76: mt7915: 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/mt7915/init.c