[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f71396fc-29a3-4022-3f7a-3a37abb9079c@gmail.com>
Date: Tue, 9 Nov 2021 10:05:51 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Martin Kaistra <martin.kaistra@...utronix.de>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>
Cc: Richard Cochran <richardcochran@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Stephen Boyd <sboyd@...nel.org>,
Russell King <linux@...linux.org.uk>,
Marc Kleine-Budde <mkl@...gutronix.de>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/7] net: dsa: b53: Move struct b53_device to
include/linux/dsa/b53.h
On 11/9/21 1:50 AM, Martin Kaistra wrote:
> In order to access the b53 structs from net/dsa/tag_brcm.c move the
> definitions from drivers/net/dsa/b53/b53_priv.h to the new file
> include/linux/dsa/b53.h.
>
> Signed-off-by: Martin Kaistra <martin.kaistra@...utronix.de>
> ---
> drivers/net/dsa/b53/b53_priv.h | 90 +----------------------------
> include/linux/dsa/b53.h | 100 +++++++++++++++++++++++++++++++++
> 2 files changed, 101 insertions(+), 89 deletions(-)
> create mode 100644 include/linux/dsa/b53.h
All you really access is the b53_port_hwtstamp structure within the
tagger, so please make it the only structure exposed to net/dsa/tag_brcm.c.
--
Florian
Powered by blists - more mailing lists