summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_info.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-06-18 11:09:56 +0530
committerDave Airlie <airlied@redhat.com>2012-06-21 09:33:10 +0100
commitb375de0b09ef1659c28f365a9a8e947c311f77e5 (patch)
treea0a5186b4cfd6c7d2b75549eb393c482fc065cfd /drivers/gpu/drm/drm_info.c
parent9c19415c233499c26081798b880910ec0e1d7bad (diff)
downloadlinux-b375de0b09ef1659c28f365a9a8e947c311f77e5.tar.bz2
drm: Add missing static storage class specifier
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>
Diffstat (limited to 'drivers/gpu/drm/drm_info.c')
-rw-r--r--drivers/gpu/drm/drm_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c
index ab1162da70f8..4076a33e5cad 100644
--- a/drivers/gpu/drm/drm_info.c
+++ b/drivers/gpu/drm/drm_info.c
@@ -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;