aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2018-05-11 11:19:38 -0700
committerAmit Pundir <amit.pundir@linaro.org>2018-05-20 16:43:41 +0530
commit4cca3468bf12e5fe9456313f707b93116b3f8694 (patch)
treeffdf77d78105621489b3dfc56c8b8470f4ec5dec
parent880ac3b970993588b08697ce4c7ec8b46822a133 (diff)
goldfish: pipe: ANDROID: mark local functions static
goldfish_dma_ioctl_getoff and goldfish_dma_ioctl_create_region are not used outside of goldfish_pipe_v2.c - mark them static. Bug: 72717639 Bug: 66884503 Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Id4fe524cc4db9d36b0c794ad9f34356f396153b4
-rw-r--r--drivers/platform/goldfish/goldfish_pipe_v2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c b/drivers/platform/goldfish/goldfish_pipe_v2.c
index 54acde448ae2..543b5a083363 100644
--- a/drivers/platform/goldfish/goldfish_pipe_v2.c
+++ b/drivers/platform/goldfish/goldfish_pipe_v2.c
@@ -1056,7 +1056,8 @@ static int goldfish_pipe_dma_create_region(
return -ENOMEM;
}
-long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe, unsigned long arg)
+static long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe,
+ unsigned long arg)
{
struct device *pdev_dev = pipe->dev->pdev_dev;
struct goldfish_dma_ioctl_info ioctl_data;
@@ -1093,7 +1094,7 @@ long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe, unsigned long arg)
return 0;
}
-long goldfish_dma_ioctl_create_region(struct goldfish_pipe *pipe,
+static long goldfish_dma_ioctl_create_region(struct goldfish_pipe *pipe,
unsigned long arg)
{
struct goldfish_dma_ioctl_info ioctl_data;