drm/dsi: Constify mipi_dsi_msg
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 09:27:56 +0000 (11:27 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:55:41 +0000 (13:55 +0100)
commited6ff40ee72cc6d384a0aea5efa10c526350e84a
tree515882486902c06c8d85eb0502a2f45d6456cdfd
parent960dd616f61c8482b3f9d01fa6623576fb74503c
drm/dsi: Constify mipi_dsi_msg

struct mipi_dsi_msg is a read-only structure, drivers should never need
to modify it. Make this explicit by making all references to the struct
const.

Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c
include/drm/drm_mipi_dsi.h