From: Mauro Carvalho Chehab Date: Fri, 3 Jul 2015 11:35:51 +0000 (-0300) Subject: [media] vsp1: declar vsp1_pipeline_stopped() as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41bdc3cf81c4d0f0dfe09f06ff203dd59d422f37;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] vsp1: declar vsp1_pipeline_stopped() as static drivers/media/platform/vsp1/vsp1_video.c:517:6: warning: no previous prototype for 'vsp1_pipeline_stopped' [-Wmissing-prototypes] bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe) ^ Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index c1b5a09b8331..770e08dc03f1 100644 --- a/drivers/media/platform/vsp1/vsp1_video.c +++ b/drivers/media/platform/vsp1/vsp1_video.c @@ -514,7 +514,7 @@ static void vsp1_pipeline_run(struct vsp1_pipeline *pipe) pipe->buffers_ready = 0; } -bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe) +static bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe) { unsigned long flags; bool stopped;