net: dsa: sja1105: make read-only const arrays static
authorColin Ian King <colin.i.king@gmail.com>
Tue, 19 Sep 2023 09:36:06 +0000 (10:36 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 Sep 2023 14:12:12 +0000 (16:12 +0200)
commitf30e5323a188cfc2d74b04f222cea0dbe9ffd6e6
tree32d29eab47c33e5467b9c6e90a29449de68e0594
parentf20161cf51657bf4c85380c0c1c80188a74f168d
net: dsa: sja1105: make read-only const arrays static

Don't populate read-only const arrays on the stack, instead make them
static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20230919093606.24446-1-colin.i.king@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/sja1105/sja1105_clocking.c