platform/x86: dell-smbios: make a function and a pointer static
authorColin Ian King <colin.king@canonical.com>
Thu, 21 Jun 2018 18:15:24 +0000 (19:15 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 26 Jun 2018 22:12:20 +0000 (15:12 -0700)
commit1e169ca3c4e3fb9d23fa481d05bb1555626e0b5c
tree3f42a1b4f7253a598c5f0cf8a1c5d4ca7354001d
parent58e73aa177850babb947555257fd4f79e5275cf1
platform/x86: dell-smbios: make a function and a pointer static

The function dell_smbios_smm_call and pointer platform_device are
local to the source and do not need to be in global scope, so make
them static.

Cleans up sparse warnings:
warning: symbol 'platform_device' was not declared. Should it be static?
warning: symbol 'dell_smbios_smm_call' 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/dell-smbios-smm.c