[PATCH can-next 19/21] can: rockchip_canfd: add hardware timestamping support

Marc Kleine-Budde mkl at pengutronix.de
Wed Jul 31 01:00:41 PDT 2024


On 30.07.2024 17:30:14, Simon Horman wrote:
> On Mon, Jul 29, 2024 at 03:05:50PM +0200, Marc Kleine-Budde wrote:
> > Add support for hardware based timestamping.
> > 
> > Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> 
> Hi Marc,
> 
> This patch seems to break allmodconfig builds on (at least) x86_64
> when applied to net-next.
> 
> In file included from drivers/net/can/rockchip/rockchip_canfd-ethtool.c:9:
> drivers/net/can/rockchip/rockchip_canfd.h:471:29: error: field 'cc' has incomplete type
>   471 |         struct cyclecounter cc;

The required header gets somehow pulled in on arm64, but it even fails
on arm. Fixed.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20240731/0ddc6f51/attachment.sig>


More information about the Linux-rockchip mailing list