summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2017-05-30 19:29:55 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-06-08 21:18:07 +0300
commitdc629141c3336ae4b03c5fef5fb7bf1058752aed (patch)
tree6a6d56b71988bf30ddeb62faa4d3b8fadd94e4f6 /drivers/gpu/drm
parent2af168e171f75c783366164c7c810e8ee1440405 (diff)
downloadop-kernel-dev-dc629141c3336ae4b03c5fef5fb7bf1058752aed.zip
op-kernel-dev-dc629141c3336ae4b03c5fef5fb7bf1058752aed.tar.gz
drm: Add const to name field declaration in struct drm_prop_enum_list
There is no reason why the name field should not be const, but several why it should. The struct should only be used by drm_property_create_enum() and there the name-field from the struct is passed to drm_property_add_enum(), which takes a const char * as a parameter. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/5dd3b6a1e20452bd8abdcbc55d1e8d7f56262266.1496161066.git.jsarha@ti.com
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud