commit | 3faaf53920dbb5bc3177f208ccbc75580a7ed8a0 | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Thu Aug 27 00:56:06 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 16:21:17 2020 -0700 |
tree | 98a9601c998f295b7676eb423993ccab21f5d029 | |
parent | b968a44f7b9470c9df0d1fe5290710969108bfbf [diff] |
net: phy: at803x: constify static regulator_ops The only usage of vddio_regulator_ops and vddh_regulator_ops is to assign their address to the ops field in the regulator_desc struct, which is a const pointer. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>