]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6e308d2c8a694f01d6a85f0ff8ce8f8f24b4cf3
tree967eea6acec2a8fd5ee88c4dded217fcaefc5d25
parent6ea7da620b0401ad33f232a2e4f9089720ec80b2
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