[PATCH robclark] drm: get_properties() can be static

From: kbuild test robot
Date: Wed Dec 17 2014 - 20:10:33 EST


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@xxxxxxxxx>
---
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/