]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1cf1ce75fc42eea735d7b60af719956bf4a5b0b3
tree17ad11d84425b83945c1959eb06fb9c0f66413fd
parent8309ce535935f70b063a6d29266ca561c4526c80
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