net: dsa: mv88e6xxx: group cycle counter coefficients
authorShenghao Yang <me@shenghaoyang.info>
Sun, 20 Oct 2024 06:38:28 +0000 (14:38 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 24 Oct 2024 10:57:46 +0000 (12:57 +0200)
commit67af86afff74c914944374a103c04e4d9868dd15
treeb13719ed8b8ce3de42d51d3a78df065748aab4ae
parent64761c980cbf71fb7a532a8c7299907ea972a88c
net: dsa: mv88e6xxx: group cycle counter coefficients

Instead of having them as individual fields in ptp_ops, wrap the
coefficients in a separate struct so they can be referenced together.

Fixes: de776d0d316f ("net: dsa: mv88e6xxx: add support for mv88e6393x family")
Signed-off-by: Shenghao Yang <me@shenghaoyang.info>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/ptp.c