From: Rashika Date: Mon, 6 Jan 2014 15:06:15 +0000 (+0530) Subject: drivers: gpu: Mark function as static in mgag200_main.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2890a769e8cc2a536e315a945b34db219c5d3f1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: gpu: Mark function as static in mgag200_main.c Mark function mgag200_bo_unref() as static in drm/mgag200/mgag200_main.c because it is not used outside this file. This eliminates the following warning in drm/mgag200/mgag200_main.c: drivers/gpu/drm/mgag200/mgag200_main.c:313:6: warning: no previous prototype for ‘mgag200_bo_unref’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/mgag200/mgag200_main.c b/drivers/gpu/drm/mgag200/mgag200_main.c index b1120cb1db6d..a1bfe7258364 100644 --- a/drivers/gpu/drm/mgag200/mgag200_main.c +++ b/drivers/gpu/drm/mgag200/mgag200_main.c @@ -310,7 +310,7 @@ int mgag200_dumb_create(struct drm_file *file, return 0; } -void mgag200_bo_unref(struct mgag200_bo **bo) +static void mgag200_bo_unref(struct mgag200_bo **bo) { struct ttm_buffer_object *tbo;