]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/msm: dsi: Constify dsi_host_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 8 Nov 2020 22:37:38 +0000 (23:37 +0100)
committerRob Clark <robdclark@chromium.org>
Sun, 29 Nov 2020 18:54:08 +0000 (10:54 -0800)
commit8b6947a81e56f0ef06be8a6d805df9634b4fd3f7
tree12eee2f42714d7f9321ebecee587947c84696ec6
parentcc9014bf63a4d8fef0eee88e92f027928683ca12
drm/msm: dsi: Constify dsi_host_ops

The only usage of dsi_host_ops is to assign its address to the ops field
in the mipi_dsi_host struct, which is a const pointer. Make it const to
allow the compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dsi/dsi_host.c