diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-10-12 02:18:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-14 16:45:40 -0700 |
commit | a9d6ed7a8bd0f3091b9fe6d0b9facc9392c1ec21 (patch) | |
tree | bd4d8282efc6a5c3f070c141b445d96d8361fd54 /.clang-format | |
parent | net: dsa: sja1105: Make all public PTP functions take dsa_switch as argument (diff) | |
download | linux-dev-a9d6ed7a8bd0f3091b9fe6d0b9facc9392c1ec21.tar.xz linux-dev-a9d6ed7a8bd0f3091b9fe6d0b9facc9392c1ec21.zip |
net: dsa: sja1105: Move PTP data to its own private structure
This is a non-functional change with 2 goals (both for the case when
CONFIG_NET_DSA_SJA1105_PTP is not enabled):
- Reduce the size of the sja1105_private structure.
- Make the PTP code more self-contained.
Leaving priv->ptp_data.lock to be initialized in sja1105_main.c is not a
leftover: it will be used in a future patch "net: dsa: sja1105: Restore
PTP time after switch reset".
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions