[Intel-gfx] [PATCH] drm/i915: Make the WRPLL names const

Daniel Vetter daniel at ffwll.ch
Tue Jul 15 16:10:23 CEST 2014


On Tue, Jul 15, 2014 at 03:05:33PM +0100, Damien Lespiau wrote:
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>

Queued for -next, thanks for the patch.
-Daniel
> ---
>  drivers/gpu/drm/i915/intel_ddi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
> index b226724..8f36750 100644
> --- a/drivers/gpu/drm/i915/intel_ddi.c
> +++ b/drivers/gpu/drm/i915/intel_ddi.c
> @@ -1200,7 +1200,7 @@ static bool hsw_ddi_pll_get_hw_state(struct drm_i915_private *dev_priv,
>  	return val & WRPLL_PLL_ENABLE;
>  }
>  
> -static char *hsw_ddi_pll_names[] = {
> +static const char * const hsw_ddi_pll_names[] = {
>  	"WRPLL 1",
>  	"WRPLL 2",
>  };
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list