diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-10-12 02:18:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-15 02:45:40 +0300 |
commit | a9d6ed7a8bd0f3091b9fe6d0b9facc9392c1ec21 (patch) | |
tree | bd4d8282efc6a5c3f070c141b445d96d8361fd54 /fs/romfs | |
parent | 61c77126278eb950010d2ed944c3bc09d10e0eb4 (diff) | |
download | linux-a9d6ed7a8bd0f3091b9fe6d0b9facc9392c1ec21.tar.xz |
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 'fs/romfs')
0 files changed, 0 insertions, 0 deletions