aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-09-29 01:58:04 +0300
committerJani Nikula <jani.nikula@intel.com>2021-09-29 09:28:53 +0300
commit6b4cd9cba6208bd879e05ad7171f95bf9389bc98 (patch)
tree994cc912c9f51ac2f3160ba66e857202685e4ac4 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: constify the dpll clock vtable (diff)
downloadlinux-dev-6b4cd9cba6208bd879e05ad7171f95bf9389bc98.tar.xz
linux-dev-6b4cd9cba6208bd879e05ad7171f95bf9389bc98.zip
drm/i915: constify the cdclk vtable
This is a bit of a twisty one since each platform is slightly different, so might take some more review care. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/75e0139b28cca9ceff77de72c3ef737c101255ba.1632869550.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index cb72e2fe5417..67638b4327f9 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1006,7 +1006,7 @@ struct drm_i915_private {
const struct intel_audio_funcs *audio_funcs;
/* Display CDCLK functions */
- struct intel_cdclk_funcs cdclk_funcs;
+ const struct intel_cdclk_funcs *cdclk_funcs;
/* PCH chipset type */
enum intel_pch pch_type;