]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
can: mcp251xfd: mark some instances of struct mcp251xfd_priv as const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 Aug 2021 18:31:54 +0000 (20:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 19 Aug 2021 13:07:03 +0000 (15:07 +0200)
commitb2fcc70799368a9bc25509da4c9127583523ec37
tree20ee756b36072e4d539dc34ed6f3ac3cdd1a4c28
parentc734707820f8550ae492ddfb772234b752a9a798
can: mcp251xfd: mark some instances of struct mcp251xfd_priv as const

With the patch 07ff4aed015c ("time/timecounter: Mark 1st argument of
timecounter_cyc2time() as const") some instances of the struct
mcp251xfd_priv can be marked as const. This patch marks these as
const.

Link: https://lore.kernel.org/r/20210813091027.159379-1-mkl@pengutronix.de
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: Thomas Kopp <thomas.kopp@microchip.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/spi/mcp251xfd/mcp251xfd-timestamp.c
drivers/net/can/spi/mcp251xfd/mcp251xfd.h