net: phy: marvell: constify marvell_hw_stats
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Thu, 2 May 2024 11:13:00 +0000 (13:13 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 May 2024 22:17:52 +0000 (15:17 -0700)
commit71dd027ab453bfed1d21bdb5e04a40b4fe7a2eea
tree06f0104a13f0dc06dc64dda33731bc6cf49df470
parent7824463aaea913f6d43c6e1f169ba2fc5de1d35c
net: phy: marvell: constify marvell_hw_stats

The list of stat registers is read-only, so we can declare it as const.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/24d7a2f39e0c4c94466e8ad43228fdd798053f3a.1714643285.git.matthias.schiffer@ew.tq-group.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/marvell.c