platform/x86: mlx-platform: make a couple of structures static
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Oct 2017 10:42:11 +0000 (11:42 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Mon, 16 Oct 2017 20:45:07 +0000 (13:45 -0700)
commit36c282b31f648b31373be0dc8c2475c22fcab02a
tree17ad11d84425b83945c1959eb06fb9c0f66413fd
parent485f2a5811f9d87d5b634d068b5c7574fd1bb09e
platform/x86: mlx-platform: make a couple of structures static

The structures mlxplat_dev and mlxplat_hotplug are local to the source
and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'mlxplat_dev' was not declared. Should it be static?
symbol 'mlxplat_hotplug' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c