mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
platform: goldfish: pipe: Make symbol 'goldfish_pipe_dev' static
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 <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cdfa835c6e
commit
3790e28cdb
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ struct goldfish_pipe_dev {
|
||||||
unsigned char __iomem *base;
|
unsigned char __iomem *base;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct goldfish_pipe_dev goldfish_pipe_dev;
|
static struct goldfish_pipe_dev goldfish_pipe_dev;
|
||||||
|
|
||||||
static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe,
|
static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe,
|
||||||
enum PipeCmdCode cmd)
|
enum PipeCmdCode cmd)
|
||||||
|
|
Loading…
Reference in a new issue