Commit 1784aa14 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: tcan4x5x: mark struct regmap_bus tcan4x5x_bus as constant



This patch marks the struct regmap_bus tcan4x5x_bus as constant.

Reviewed-by: default avatarDan Murphy <dmurphy@ti.com>
Tested-by: default avatarSean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215231746.1132907-6-mkl@pengutronix.de


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 67def4ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static const struct regmap_config tcan4x5x_regmap = {
	.max_register = TCAN4X5X_MAX_REGISTER,
};

static struct regmap_bus tcan4x5x_bus = {
static const struct regmap_bus tcan4x5x_bus = {
	.write = tcan4x5x_regmap_write,
	.gather_write = regmap_spi_gather_write,
	.async_write = regmap_spi_async_write,