]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: bridge: dw-hdmi: Constify mode argument to internal functions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 May 2020 01:14:55 +0000 (04:14 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 23 Jun 2020 17:56:43 +0000 (19:56 +0200)
commit9fbfa320b435e6f25499a63f7bb74b4fc5341b30
tree082df0ea433c61126028877083a8d550135190fa
parent35a395f1134bbbd2984dcca28c04f09fbbb8b0a4
drm: bridge: dw-hdmi: Constify mode argument to internal functions

Several internal functions take a drm_display_mode argument to configure
the HDMI encoder or the HDMI PHY. They must not modify the mode, make
the pointer const to enforce that.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200526011505.31884-18-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c