projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c19415
)
drm: Add missing static storage class specifier
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 18 Jun 2012 05:39:56 +0000
(11:09 +0530)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_info.c
b/drivers/gpu/drm/drm_info.c
index
ab1162d
..
4076a33
100644
(file)
--- 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;