mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b6a38565e6
commit
70caf70916
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user