static: keucr: Fix sparse warning of static declarations
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 14 Mar 2014 10:58:00 +0000 (16:28 +0530)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 01:43:49 +0000 (18:43 -0700)
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>
drivers/staging/keucr/smilsub.c

index 16da9a9b4033faf3e2b3cc975f3fbcde724f5a75..2e7e137047aef004f5901205b970a79adf5dbc7a 100644 (file)
@@ -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: