From: Himangi Saraogi Date: Fri, 14 Mar 2014 10:58:00 +0000 (+0530) Subject: static: keucr: Fix sparse warning of static declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cdf11154b6c61d1258d631ab1aed1a3018781340;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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: