From: Rashika Date: Mon, 6 Jan 2014 14:30:40 +0000 (+0530) Subject: drivers: gpu: Mark function as static and remove unused function in ast_main.c X-Git-Tag: v3.14-rc1~47^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6109803f24131efd23fc0f2a4aa5eef5d6c1197;p=pandora-kernel.git 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 Reviewed-by: Josh Triplett Signed-off-by: Dave Airlie --- Reading git-diff-tree failed