diff options
| author | Marek Vasut <[email protected]> | 2026-05-10 19:17:05 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-29 17:10:46 -0600 |
| commit | 16185d7ff317b0406b6386e67ebbe175377449b0 (patch) | |
| tree | 6d2d2f25e46a4e698325114bd36498ae6d605f3d /drivers | |
| parent | dd2f4d967f12b896ff976b3b21311c1000aece2a (diff) | |
video: tda19988: 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/tda19988.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tda19988.c b/drivers/video/tda19988.c index ebc8521c6ed..a4cc3a49232 100644 --- a/drivers/video/tda19988.c +++ b/drivers/video/tda19988.c @@ -522,7 +522,7 @@ static int tda19988_enable(struct udevice *dev, int panel_bpp, return 0; } -struct dm_display_ops tda19988_ops = { +static const struct dm_display_ops tda19988_ops = { .read_edid = tda19988_read_edid, .enable = tda19988_enable, }; |
