summaryrefslogtreecommitdiffstats
path: root/drivers/staging/keucr/smilmain.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-11-11 20:39:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-11 15:42:37 -0800
commit665fba0e1d28df9f2f4659991063e90040d62917 (patch)
tree8b5afa16f3d309ce4106efc5ca60667795aa7724 /drivers/staging/keucr/smilmain.c
parent52fdda40f65422d6e88df599169607f442c36267 (diff)
downloadop-kernel-dev-665fba0e1d28df9f2f4659991063e90040d62917.zip
op-kernel-dev-665fba0e1d28df9f2f4659991063e90040d62917.tar.gz
Staging: keucr: Move the declaration of variable ErrCode in smilmain.c
This patch moves the declaration of variable ErrCode to file smilmain.c since this is the only file which uses it. Hence, it also removes extern declaration from the header file smil.h. Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr/smilmain.c')
-rw-r--r--drivers/staging/keucr/smilmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/keucr/smilmain.c b/drivers/staging/keucr/smilmain.c
index 4e81c7a..02f73bf 100644
--- a/drivers/staging/keucr/smilmain.c
+++ b/drivers/staging/keucr/smilmain.c
@@ -25,7 +25,7 @@ static int Make_D_LogTable(struct us_data *);
static int MarkFail_D_PhyOneBlock(struct us_data *);
-DWORD ErrCode;
+static DWORD ErrCode;
static BYTE WorkBuf[SECTSIZE];
static BYTE Redundant[REDTSIZE];
static BYTE WorkRedund[REDTSIZE];
OpenPOWER on IntegriCloud