Skip to content

Commit 4cca346

Browse files
Roman Kiryanovpundiramit
authored andcommitted
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
1 parent 880ac3b commit 4cca346

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/platform/goldfish/goldfish_pipe_v2.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,8 @@ static int goldfish_pipe_dma_create_region(
10561056
return -ENOMEM;
10571057
}
10581058

1059-
long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe, unsigned long arg)
1059+
static long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe,
1060+
unsigned long arg)
10601061
{
10611062
struct device *pdev_dev = pipe->dev->pdev_dev;
10621063
struct goldfish_dma_ioctl_info ioctl_data;
@@ -1093,7 +1094,7 @@ long goldfish_dma_ioctl_getoff(struct goldfish_pipe *pipe, unsigned long arg)
10931094
return 0;
10941095
}
10951096

1096-
long goldfish_dma_ioctl_create_region(struct goldfish_pipe *pipe,
1097+
static long goldfish_dma_ioctl_create_region(struct goldfish_pipe *pipe,
10971098
unsigned long arg)
10981099
{
10991100
struct goldfish_dma_ioctl_info ioctl_data;

0 commit comments

Comments
 (0)