Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3790e28c authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cdfa835c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ struct goldfish_pipe_dev {
	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,
				    enum PipeCmdCode cmd)