]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-ethernet-renesas-rcar_gen4_ptp-hide-private-data'
authorJakub Kicinski <kuba@kernel.org>
Wed, 4 Feb 2026 03:35:40 +0000 (19:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Feb 2026 03:35:40 +0000 (19:35 -0800)
commite9a1a28af9d2da3f3e6a489f6a9fbfba8fb9fa1a
treed3453dd60ed3b39e5af30d1daa3faf842ecfe31f
parent6dfa3df797bbea7ae2527c21eaff58de5ae8c580
parent9c2f568eb236032071b73666ccd7715ddacc1fca
Merge branch 'net-ethernet-renesas-rcar_gen4_ptp-hide-private-data'

Niklas Söderlund says:

====================
net: ethernet: renesas: rcar_gen4_ptp: Hide private data

The R-Car Gen4 PTP module started out as an exclusive feature of a
single driver, but have since been extended to cover both R-Car Switch
and TSN driver implementations on Gen4.

The feature have already been extended to be built as its own module
with an interface exposed thru a local header file. The header file
however also exposes the modules private data structure. The two
existing users have already started to poke at members of the struct.

The exposed private data being manipulated by users makes refactoring
and future rework hard as the interface for the module becomes to
chaotic. This small series aims to create two helpers to hide the
private data.

This is done as a small preparation before a third, new, users of the
Gen4 PTP will be added in a follow up series.
====================

Link: https://patch.msgid.link/20260201183745.1075399-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>