]> git.ipfire.org Git - thirdparty/u-boot.git/commit
video: stm32: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 10 May 2026 17:17:04 +0000 (19:17 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 29 May 2026 23:10:46 +0000 (17:10 -0600)
commitdd2f4d967f12b896ff976b3b21311c1000aece2a
tree94cbf8f151ab70af3b3cf52c8d2ef3b02d5b9300
parent7e7b3106a50b72ab78e28f81e9ab9f96817b5e47
video: stm32: 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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Raphaƫl Gallais-Pou <rgallaispou@gmail.com>
drivers/video/stm32/stm32_dsi.c