]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86247abf781711f34ebd2089547d1b58ed8638bd
treea4af65e3b0390b63dfd73f75493adbc86501a8bc
parent31902e9b95ec26b980f57c6542fad7434d731b3a
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