aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-03-14 16:28:00 +0530
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2014-03-16 18:43:49 -0700
commitcdf11154b6c61d1258d631ab1aed1a3018781340 (patch)
treeeab60475f32ee8ed281b30c82830a4c39088fe3b
parent4a9fdbbecc184e1f2273d83faa16a6246613d110 (diff)
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 <himangi774@gmail.com> Acked-by: Pablo Neira Ayuso <pablo@gnumonks.org> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
-rw-r--r--drivers/staging/keucr/smilsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c
index 16da9a9b403..2e7e137047a 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: