mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user