summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-10 19:17:03 +0200
committerTom Rini <[email protected]>2026-05-29 17:10:46 -0600
commit7e7b3106a50b72ab78e28f81e9ab9f96817b5e47 (patch)
treef5a7a26b526dfa5196c4054611b516f9e2cb768a
parentb2f7404fd8ad03405aa75ad1bdbbba01e144785e (diff)
video: imx: ldb: 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/imx/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/imx/ldb.c b/drivers/video/imx/ldb.c
index e918341c0a3..32a327647f8 100644
--- a/drivers/video/imx/ldb.c
+++ b/drivers/video/imx/ldb.c
@@ -230,7 +230,7 @@ dis_clk:
return ret;
}
-struct video_bridge_ops imx_ldb_ops = {
+static const struct video_bridge_ops imx_ldb_ops = {
.attach = imx_ldb_attach,
.set_backlight = imx_ldb_set_backlight,
};