[Intel-gfx] [PATCH] drm/i915: make drm_crtc_helper_funcs const data
Daniel Vetter
daniel at ffwll.ch
Wed May 6 02:46:06 PDT 2015
On Mon, Apr 13, 2015 at 11:26:56AM +0300, Jani Nikula wrote:
> Because they can be.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Queued for -next, thanks for the patch.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index a0be6ab7ba7b..bc079d5016e1 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -10420,7 +10420,7 @@ out_hang:
> return ret;
> }
>
> -static struct drm_crtc_helper_funcs intel_helper_funcs = {
> +static const struct drm_crtc_helper_funcs intel_helper_funcs = {
> .mode_set_base_atomic = intel_pipe_set_base_atomic,
> .load_lut = intel_crtc_load_lut,
> .atomic_begin = intel_begin_crtc_commit,
> --
> 2.1.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list