]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31902e9b95ec26b980f57c6542fad7434d731b3a
treeb55aaad6d91d3a05da1ae9bfaa03c516825e78bc
parent4d31bade33cf8d39797f47d6dca7f3c3c0171060
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