OSDN Git Service

drm/i915: Make the WRPLL names const
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 15 Jul 2014 14:05:33 +0000 (15:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:30 +0000 (07:05 +0200)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c

index b226724..8f36750 100644 (file)
@@ -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",
 };