summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-10 19:16:57 +0200
committerTom Rini <[email protected]>2026-05-29 17:10:46 -0600
commitaf65e247e7718e7b16d402f3e7d17844e3ccc677 (patch)
tree951504a95460a8b05b77f3cb1487e08324d970ff
parent6da8ecc5189d36221211956cb3e7097db7f15267 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--drivers/video/bridge/ps862x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bridge/ps862x.c b/drivers/video/bridge/ps862x.c
index efd03752281..a08227f8355 100644
--- a/drivers/video/bridge/ps862x.c
+++ b/drivers/video/bridge/ps862x.c
@@ -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,
};