[PATCH] mt76: mt7921: make read-only array ppet16_ppet8_ru3_ru0 static const

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Apr 14 05:00:17 PDT 2022


Il 14/04/22 11:54, Colin Ian King ha scritto:
> 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.
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>

Tested OK (mt7921 on PCIe), and....

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the Linux-mediatek mailing list