reset: npcm: 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>
This commit is contained in:
Marek Vasut
2026-05-09 17:12:31 +02:00
committed by Tom Rini
parent 4020549f9b
commit 35cd9d8636

View File

@@ -126,7 +126,7 @@ static const struct udevice_id npcm_reset_ids[] = {
{ }
};
struct reset_ops npcm_reset_ops = {
static const struct reset_ops npcm_reset_ops = {
.request = npcm_reset_request,
.rfree = npcm_reset_free,
.rst_assert = npcm_reset_assert,