From cdf11154b6c61d1258d631ab1aed1a3018781340 Mon Sep 17 00:00:00 2001 From: Himangi Saraogi Date: Fri, 14 Mar 2014 16:28:00 +0530 Subject: [PATCH] static: keucr: Fix sparse warning of static declarations This patch fixes the warning: drivers/staging/keucr/smilsub.c:603:6: warning: symbol '_Check_D_DevCode' was not declared. Should it be static? by making function static as it is used within the file. Signed-off-by: Himangi Saraogi Acked-by: Pablo Neira Ayuso Signed-off-by: Peter P Waskiewicz Jr --- drivers/staging/keucr/smilsub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c index 16da9a9b4033..2e7e137047ae 100644 --- a/drivers/staging/keucr/smilsub.c +++ b/drivers/staging/keucr/smilsub.c @@ -600,7 +600,7 @@ int Set_D_SsfdcModel(BYTE dcode) } /* ----- _Check_D_DevCode() --------------------------------------------- */ -BYTE _Check_D_DevCode(BYTE dcode) +static BYTE _Check_D_DevCode(BYTE dcode) { switch (dcode) { case 0x6E: -- 2.20.1