From 033b0af3a8940171e33ccd5405485555fa494c9c Mon Sep 17 00:00:00 2001 From: Shridhar Rasal Date: Fri, 8 Jul 2016 20:28:16 +0530 Subject: [PATCH] video: tegra: host: fix sparse static warning Fix below warning from sparse checks: - nvdla/nvdla.c warning: symbol 'nvdla_queue_abort' was not declared. Should it be static? - pva/pva.c warning: symbol 'pva_queue_abort' was not declared. Should it be static? Bug 200088648 Change-Id: I084156f1b0605008fe9b1dbe534211a682257e2e Signed-off-by: Shridhar Rasal Reviewed-on: http://git-master/r/1176532 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Amit Sharma (SW-TEGRA) --- drivers/video/tegra/host/nvdla/nvdla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla.c b/drivers/video/tegra/host/nvdla/nvdla.c index a7771027..40cb76c5 100644 --- a/drivers/video/tegra/host/nvdla/nvdla.c +++ b/drivers/video/tegra/host/nvdla/nvdla.c @@ -121,7 +121,7 @@ static void nvdla_free_dump_region(struct platform_device *pdev) } /* Queue management API */ -int nvdla_queue_abort(struct nvhost_queue *queue) +static int nvdla_queue_abort(struct nvhost_queue *queue) { /* TBD: Abort pending tasks from the queue */