Commit 8a50b9bd authored by Ville Syrjälä's avatar Ville Syrjälä

drm: Make __drm_object_property_get_value() static

Make __drm_object_property_get_value() static to fix the following
sparse warning:
drm_mode_object.c:250:5: warning: symbol '__drm_object_property_get_value' was not declared. Should it be static?

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 4a97a3da ("drm: Don't update property values for atomic drivers")
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170901165328.24459-4-ville.syrjala@linux.intel.comReviewed-by: default avatarThierry Reding <treding@nvidia.com>
parent 927cad98
...@@ -247,8 +247,9 @@ int drm_object_property_set_value(struct drm_mode_object *obj, ...@@ -247,8 +247,9 @@ int drm_object_property_set_value(struct drm_mode_object *obj,
} }
EXPORT_SYMBOL(drm_object_property_set_value); EXPORT_SYMBOL(drm_object_property_set_value);
int __drm_object_property_get_value(struct drm_mode_object *obj, static int __drm_object_property_get_value(struct drm_mode_object *obj,
struct drm_property *property, uint64_t *val) struct drm_property *property,
uint64_t *val)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment