reset: tegra-car: Staticize and constify driver ops

Set the ops structure as static const. The structure is not accessible
from outside of this driver and is not going to be modified at runtime.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Acked-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
Marek Vasut
2026-05-09 17:12:36 +02:00
committed by Tom Rini
parent 9c631c5dbb
commit 6f69da0d0f

View File

@@ -42,7 +42,7 @@ static int tegra_car_reset_deassert(struct reset_ctl *reset_ctl)
return 0;
}
struct reset_ops tegra_car_reset_ops = {
static const struct reset_ops tegra_car_reset_ops = {
.request = tegra_car_reset_request,
.rst_assert = tegra_car_reset_assert,
.rst_deassert = tegra_car_reset_deassert,