diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-08-27 00:56:06 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-08-26 16:21:17 -0700 |
| commit | 3faaf53920dbb5bc3177f208ccbc75580a7ed8a0 (patch) | |
| tree | 98a9601c998f295b7676eb423993ccab21f5d029 /drivers/net/phy/mscc | |
| parent | b968a44f7b9470c9df0d1fe5290710969108bfbf (diff) | |
| download | linux-3faaf53920dbb5bc3177f208ccbc75580a7ed8a0.tar.gz linux-3faaf53920dbb5bc3177f208ccbc75580a7ed8a0.tar.bz2 linux-3faaf53920dbb5bc3177f208ccbc75580a7ed8a0.zip | |
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>
Diffstat (limited to 'drivers/net/phy/mscc')
0 files changed, 0 insertions, 0 deletions
