video: bridge: ps862x: 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-10 19:16:57 +02:00
committed by Tom Rini
parent 6da8ecc518
commit af65e247e7

View File

@@ -116,7 +116,7 @@ static int ps8622_probe(struct udevice *dev)
return 0;
}
struct video_bridge_ops ps8622_ops = {
static const struct video_bridge_ops ps8622_ops = {
.attach = ps8622_attach,
.set_backlight = ps8622_set_backlight,
};