diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-29 18:20:01 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-08-13 13:47:56 +0200 |
commit | 8044449556338fb27b1a03f6b1dbbdbc59e4ebfa (patch) | |
tree | 4bc196c0e0aedb2a9eff2462e9bfd9e6e374eed7 /drivers/gpu/drm/tegra | |
parent | 066d30f8c7547f9ca744cd090092d66847e85de4 (diff) | |
download | talos-obmc-linux-8044449556338fb27b1a03f6b1dbbdbc59e4ebfa.tar.gz talos-obmc-linux-8044449556338fb27b1a03f6b1dbbdbc59e4ebfa.zip |
drm/tegra: sor: Constify display mode
The data structure is always only read, never written, and can hence be
referred to by a const pointer.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index bad63d0f5f13..677bb78a9210 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -385,7 +385,7 @@ static int tegra_sor_compute_params(struct tegra_sor *sor, } static int tegra_sor_calc_config(struct tegra_sor *sor, - struct drm_display_mode *mode, + const struct drm_display_mode *mode, struct tegra_sor_config *config, struct drm_dp_link *link) { |