[RFC PATCH] x86: cmp_version() can be static

From: kernel test robot
Date: Thu Oct 22 2020 - 08:24:17 EST



Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
pcengines-apuv2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/pcengines-apuv2.c b/drivers/platform/x86/pcengines-apuv2.c
index 45f7a89de2780c..2f579bf9917645 100644
--- a/drivers/platform/x86/pcengines-apuv2.c
+++ b/drivers/platform/x86/pcengines-apuv2.c
@@ -228,7 +228,7 @@ static const struct dmi_system_id apu_gpio_dmi_table[] __initconst = {
{}
};

-int cmp_version(const char *base, const char *test)
+static int cmp_version(const char *base, const char *test)
{
int i;
int oct_base[4], oct_test[4];