commit | 881321b6ed9e983ad733268404245fcf0be0b23c | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Fri Sep 18 13:57:51 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 18 17:52:40 2020 -0700 |
tree | 4b008c207530939d8c433dc4d09770bdb28a7552 | |
parent | ccfdbab568a2d240f4241b737e3c7fbd7a6cb59f [diff] |
net: mscc: ocelot: make ocelot_init_timestamp take a const struct ptp_clock_info It is a good measure to ensure correctness if the structures that are meant to remain constant are only processed by functions that thake constant arguments. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>