diff options
| author | Marek Vasut <[email protected]> | 2026-05-10 19:16:56 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-29 17:10:46 -0600 |
| commit | 6da8ecc5189d36221211956cb3e7097db7f15267 (patch) | |
| tree | babfcde9c6506674175b23388a3c72a1b2800469 | |
| parent | 22a285380e35a31d0a882af66278bc1edc1b917e (diff) | |
video: bridge: anx6345: 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/anx6345.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bridge/anx6345.c b/drivers/video/bridge/anx6345.c index 8cee4c958bd..a5d2781aa48 100644 --- a/drivers/video/bridge/anx6345.c +++ b/drivers/video/bridge/anx6345.c @@ -403,7 +403,7 @@ static int anx6345_probe(struct udevice *dev) return anx6345_enable(dev); } -struct video_bridge_ops anx6345_ops = { +static const struct video_bridge_ops anx6345_ops = { .attach = anx6345_attach, .set_backlight = anx6345_set_backlight, .read_edid = anx6345_read_edid, |
