]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Mark functions as static in ast_ttm.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 14:57:48 +0000 (20:27 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:16 +0000 (12:59 +1000)
commitbfbdbb7ef3520f91cfc8404b0a7631c7338eeaa5
tree2ad4d3bbd00ad95d285150c1ef9a8681c34caca8
parentf58795f1383fd456c451dcf883dcba471c35536d
drivers: gpu: Mark functions as static in ast_ttm.c

Mark functions ast_ttm_global_release(), ast_ttm_bo_is_ast_bo() and
ast_ttm_tt_create() as static in drm/ast/ast_ttm.c because they are not
used outside this file.

This eliminates the following warnings in drm/ast/ast_ttm.c:
drivers/gpu/drm/ast/ast_ttm.c:84:1: warning: no previous prototype for
‘ast_ttm_global_release’ [-Wmissing-prototypes]
drivers/gpu/drm/ast/ast_ttm.c:105:6: warning: no previous prototype for
‘ast_ttm_bo_is_ast_bo’ [-Wmissing-prototypes]
drivers/gpu/drm/ast/ast_ttm.c:211:16: warning: no previous prototype for
‘ast_ttm_tt_create’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_ttm.c