summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-10 19:16:58 +0200
committerTom Rini <[email protected]>2026-05-29 17:10:46 -0600
commit772ef8b0890565cc9645336d9539b49863e7891b (patch)
tree6a5b739ea215ae3bcbd627d0241ecb0784fa404d /drivers
parentaf65e247e7718e7b16d402f3e7d17844e3ccc677 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/bridge/ptn3460.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bridge/ptn3460.c b/drivers/video/bridge/ptn3460.c
index 5851e1ef15e..ce576c0b282 100644
--- a/drivers/video/bridge/ptn3460.c
+++ b/drivers/video/bridge/ptn3460.c
@@ -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,
};