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

Commit 70caf709 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

goldfish_pipe: make pipe_dev static



Make this static as it's only referenced in this source and
it does not need global scope.

Cleans up a sparse warning:

drivers/platform/goldfish/goldfish_pipe.c: warning: symbol
  'pipe_dev' was not declared. Should it be static?

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6a38565
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ struct goldfish_pipe_dev {
	unsigned char __iomem *base;
};

struct goldfish_pipe_dev pipe_dev[1] = {};
static struct goldfish_pipe_dev pipe_dev[1] = {};

static int goldfish_cmd_locked(struct goldfish_pipe *pipe, enum PipeCmdCode cmd)
{