drm: bridge: dw-hdmi: Constify mode argument to dw_hdmi_phy_ops .init()
The PHY .init() must not modify the mode it receives. Make the pointer const to enfore 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-17-laurent.pinchart+renesas@ideasonboard.com
Showing
- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 1 addition, 1 deletiondrivers/gpu/drm/bridge/synopsys/dw-hdmi.c
- drivers/gpu/drm/meson/meson_dw_hdmi.c 2 additions, 2 deletionsdrivers/gpu/drm/meson/meson_dw_hdmi.c
- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c 1 addition, 1 deletiondrivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun8i_hdmi_phy.c
- include/drm/bridge/dw_hdmi.h 1 addition, 1 deletioninclude/drm/bridge/dw_hdmi.h
Loading
Please register or sign in to comment