diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-05 05:27:56 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 07:55:41 -0500 |
commit | ed6ff40ee72cc6d384a0aea5efa10c526350e84a (patch) | |
tree | 515882486902c06c8d85eb0502a2f45d6456cdfd /include/drm | |
parent | 960dd616f61c8482b3f9d01fa6623576fb74503c (diff) |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_mipi_dsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 44cece97f333..4eeb4a5ead8b 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h | |||
@@ -77,7 +77,7 @@ struct mipi_dsi_host_ops { | |||
77 | int (*detach)(struct mipi_dsi_host *host, | 77 | int (*detach)(struct mipi_dsi_host *host, |
78 | struct mipi_dsi_device *dsi); | 78 | struct mipi_dsi_device *dsi); |
79 | ssize_t (*transfer)(struct mipi_dsi_host *host, | 79 | ssize_t (*transfer)(struct mipi_dsi_host *host, |
80 | struct mipi_dsi_msg *msg); | 80 | const struct mipi_dsi_msg *msg); |
81 | }; | 81 | }; |
82 | 82 | ||
83 | /** | 83 | /** |