VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> 2019-10-17 12:04:27 +0100 committer: Thierry Reding <treding@nvidia.com> 2019-10-28 11:18:34 +0100 commit: 33904487f1ab1ec1f8103b1ec5dd3d26f94d9711 parent: caccddcfc4b4de75930df2e8f7fd0c66556b13ff
Commit Summary:
gpu: host1x: Make host1x_cdma_wait_pushbuffer_space() static
Diffstat:
1 file changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/cdma.c b/drivers/gpu/host1x/cdma.c
index 48c84c48299c..e8d3fda91d8a 100644
--- a/drivers/gpu/host1x/cdma.c
+++ b/drivers/gpu/host1x/cdma.c
@@ -232,9 +232,9 @@ unsigned int host1x_cdma_wait_locked(struct host1x_cdma *cdma,
  *
  * Must be called with the cdma lock held.
  */
-int host1x_cdma_wait_pushbuffer_space(struct host1x *host1x,
-				      struct host1x_cdma *cdma,
-				      unsigned int needed)
+static int host1x_cdma_wait_pushbuffer_space(struct host1x *host1x,
+					     struct host1x_cdma *cdma,
+					     unsigned int needed)
 {
 	while (true) {
 		struct push_buffer *pb = &cdma->push_buffer;