[PATCH robclark] drm: get_properties() can be static
kbuild test robot
fengguang.wu at intel.com
Wed Dec 17 17:10:01 PST 2014
drivers/gpu/drm/drm_crtc.c:1995:5: sparse: symbol 'get_properties' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
drm_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index dcfd64e5..a80a29b 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -1992,7 +1992,7 @@ static struct drm_encoder *drm_connector_get_encoder(struct drm_connector *conne
}
/* helper for getconnector and getproperties ioctls */
-int get_properties(struct drm_mode_object *obj, uint32_t __user *prop_ptr,
+static int get_properties(struct drm_mode_object *obj, uint32_t __user *prop_ptr,
uint64_t __user *prop_values, uint32_t *arg_count_props)
{
int props_count = obj->properties->count;
More information about the dri-devel
mailing list