commit | 73a9df4c10292ff4b5a937cac38313568acb05dc | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Thu Aug 27 00:56:07 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 16:21:17 2020 -0700 |
tree | cf3e0851bb71f977c0a00e359b41ed29b1a962dd | |
parent | 3faaf53920dbb5bc3177f208ccbc75580a7ed8a0 [diff] |
net: phy: mscc: macsec: constify vsc8584_macsec_ops The only usage of vsc8584_macsec_ops is to assign its address to the macsec_ops field in the phydev struct, which is a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>