Re: [PATCH] ptp: don't include ptp_clock_kernel.h in spi.h
From: Vladimir Oltean <vladimir.oltean@nxp.com> Date: 2021-09-04 09:14:47
On Fri, Sep 03, 2021 at 06:31:40PM -0700, Jakub Kicinski wrote:
Commit b42faeee718c ("spi: Add a PTP system timestamp
to the transfer structure") added an include of ptp_clock_kernel.h
to spi.h for struct ptp_system_timestamp but a forward declaration
is enough. Let's use that to limit the number of objects we have
to rebuild every time we touch networking headers.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>