diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-07-17 11:56:50 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-19 21:52:38 -0400 |
commit | e811f5ae19043b2ac2c28e147a4274038e655598 (patch) | |
tree | ca2e6a30df60d0f53042df78934f406383e839bc /drivers/gpu/drm/exynos/exynos_hdmi.c | |
parent | 59fd415ded4aa9ac2f80ca3ac36e3a014c7e552e (diff) |
drm: Make the .mode_fixup() operations mode argument a const pointer
The passed mode must not be modified by the operation, make it const.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index a137e9e39a33..066bde3f19c4 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c | |||
@@ -1940,7 +1940,7 @@ static void hdmi_conf_apply(struct hdmi_context *hdata) | |||
1940 | } | 1940 | } |
1941 | 1941 | ||
1942 | static void hdmi_mode_fixup(void *ctx, struct drm_connector *connector, | 1942 | static void hdmi_mode_fixup(void *ctx, struct drm_connector *connector, |
1943 | struct drm_display_mode *mode, | 1943 | const struct drm_display_mode *mode, |
1944 | struct drm_display_mode *adjusted_mode) | 1944 | struct drm_display_mode *adjusted_mode) |
1945 | { | 1945 | { |
1946 | struct drm_display_mode *m; | 1946 | struct drm_display_mode *m; |