Skip to content

Commit

Permalink
drm: Add missing static storage class specifier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Dave Airlie committed Jun 21, 2012
1 parent 9c19415 commit b375de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b375de0

Please sign in to comment.