projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfa835
)
platform: goldfish: pipe: Make symbol 'goldfish_pipe_dev' static
author
Wei Yongjun
<
[email protected]
>
Thu, 20 Sep 2018 06:22:05 +0000
(06:22 +0000)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 25 Sep 2018 18:38:57 +0000
(20:38 +0200)
Fixes the following sparse warning:
drivers/platform/goldfish/goldfish_pipe.c:214:26: warning:
symbol 'goldfish_pipe_dev' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/platform/goldfish/goldfish_pipe.c
patch
|
blob
|
history
diff --git
a/drivers/platform/goldfish/goldfish_pipe.c
b/drivers/platform/goldfish/goldfish_pipe.c
index fe01ef88ddfb8b59bacbfd19e7c0de08e6c800da..56665e879e5ac7bddd9695fc7457c3b1bd50c7b3 100644
(file)
--- a/
drivers/platform/goldfish/goldfish_pipe.c
+++ b/
drivers/platform/goldfish/goldfish_pipe.c
@@
-210,7
+210,7
@@
struct goldfish_pipe_dev {
unsigned char __iomem *base;
};
-struct goldfish_pipe_dev goldfish_pipe_dev;
+st
atic st
ruct goldfish_pipe_dev goldfish_pipe_dev;
static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe,
enum PipeCmdCode cmd)