OSDN Git Service

goldfish_pipe: make pipe_dev static
authorColin Ian King <colin.king@canonical.com>
Thu, 27 Apr 2017 17:41:34 +0000 (18:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:24:03 +0000 (18:24 +0200)
commit70caf709164b7347326205ea19cfafea7d002f81
tree967eea6acec2a8fd5ee88c4dded217fcaefc5d25
parentb6a38565e6d783a16854654b3cfb3a178768b37a
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>
drivers/platform/goldfish/goldfish_pipe.c