drivers: gpu: Mark function as static and remove unused function in ast_main.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 14:30:40 +0000 (20:00 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:15 +0000 (12:59 +1000)
commitf6109803f24131efd23fc0f2a4aa5eef5d6c1197
tree2a4fa583a294d7b04150df6c215bbc820a99bf13
parent8eed55be964c091449258d8f8ae1e109070f376a
drivers: gpu: Mark function as static and remove unused function in ast_main.c

Mark function ast_bo_unref() as static because it is not used outside
file ast_main.c and remove unused function ast_get_max_dclk() in
ast_main.c.

This eliminates the following warning in drm/ast/ast_main.c:
drivers/gpu/drm/ast/ast_main.c:192:10: warning: no previous prototype
for ‘ast_get_max_dclk’ [-Wmissing-prototypes]
drivers/gpu/drm/ast/ast_main.c:452:6: warning: no previous prototype for
‘ast_bo_unref’ [-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_main.c