video: bridge: ptn3460: 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>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Marek Vasut
2026-05-29 17:10:46 -06:00
committed by Tom Rini
parent af65e247e7
commit 772ef8b089
+1 -1
View File
@@ -15,7 +15,7 @@ static int ptn3460_attach(struct udevice *dev)
return video_bridge_set_active(dev, true);
}
struct video_bridge_ops ptn3460_ops = {
static const struct video_bridge_ops ptn3460_ops = {
.attach = ptn3460_attach,
};