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 ab1162d..4076a33 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;