mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -04:00
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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user