]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
platform/x86: intel_cht_int33fe: make a couple of local functions static
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Oct 2017 09:30:10 +0000 (10:30 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Oct 2017 17:01:52 +0000 (20:01 +0300)
commitf0d962392abc5b41d66ac4f7b723c82ba4f80582
treefdb14d567c931bba23fd8458469d43736d886574
parent36c282b31f648b31373be0dc8c2475c22fcab02a
platform/x86: intel_cht_int33fe: make a couple of local functions static

The functions cht_int33fe_check_for_max17047 and cht_int33fe_find_max17047
are local to the source and do not need to be in global scope, so make
them static.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_cht_int33fe.c