From: Sachin Kamat Date: Mon, 18 Jun 2012 05:39:56 +0000 (+0530) Subject: drm: Add missing static storage class specifier X-Git-Tag: v3.6-rc1~83^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b375de0b09ef1659c28f365a9a8e947c311f77e5;p=platform%2Fkernel%2Flinux-stable.git 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c index ab1162d..4076a33 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;