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 <srasal@nvidia.com>
Reviewed-on: http://git-master/r/1176532
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
This commit is contained in:
Shridhar Rasal
2016-07-08 20:28:16 +05:30
committed by Laxman Dewangan
parent 2314481526
commit 033b0af3a8

View File

@@ -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 */