mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
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>
This commit is contained in:
parent
9c19415c23
commit
b375de0b09
@ -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 drm_gem_object *obj = ptr;
|
||||||
struct seq_file *m = data;
|
struct seq_file *m = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user