Searched hist:dc629141 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/drm/ |
H A D | drm_property.h | dc629141 Tue May 30 11:29:55 CDT 2017 Jyri Sarha <jsarha@ti.com> 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 dc629141 Tue May 30 11:29:55 CDT 2017 Jyri Sarha <jsarha@ti.com> 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
|