drm: Add missing static storage class specifier
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Jun 2012 05:39:56 +0000 (11:09 +0530)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Jun 2012 08:33:10 +0000 (09:33 +0100)
Fixes the following sparse warning:
drivers/gpu/drm/drm_info.c:238:5:
warning: symbol 'drm_gem_one_name_info' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_info.c

index ab1162da70f83e7ede2df4f49965ad37a73df95e..4076a33e5cad979f3bcf62a3ac75ad384edf886a 100644 (file)
@@ -235,7 +235,7 @@ int drm_clients_info(struct seq_file *m, void *data)
 }
 
 
-int drm_gem_one_name_info(int id, void *ptr, void *data)
+static int drm_gem_one_name_info(int id, void *ptr, void *data)
 {
        struct drm_gem_object *obj = ptr;
        struct seq_file *m = data;