diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-10-12 02:18:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-15 02:45:40 +0300 |
commit | 61c77126278eb950010d2ed944c3bc09d10e0eb4 (patch) | |
tree | 722133cb85ade207b9c040669bedcc4939dd1d74 /fs/romfs | |
parent | 5b3ae43ab18acb8979541ce914b339db3af92364 (diff) | |
download | linux-61c77126278eb950010d2ed944c3bc09d10e0eb4.tar.xz |
net: dsa: sja1105: Make all public PTP functions take dsa_switch as argument
The new rule (as already started for sja1105_tas.h) is for functions of
optional driver components (ones which may be disabled via Kconfig - PTP
and TAS) to take struct dsa_switch *ds instead of struct sja1105_private
*priv as first argument.
This is so that forward-declarations of struct sja1105_private can be
avoided.
So make sja1105_ptp.h the second user of this rule.
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