mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user