Commit 91c954dd authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman

Staging: keucr: Move the declaration of variable IsSSFDCCompliance in smilsub.c

This patch moves the declaration of variable IsSSFDCCompliance to file
smilsub.c since this is the only file which uses it. Hence, it also
removes extern declaration from the header file smil.h and unnecessary
declaration in smilmain.c
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 665fba0e
......@@ -189,8 +189,6 @@ struct keucr_media_area {
WORD PhyBlock; /* Physical Block Number on Zone 0 */
};
extern BYTE IsSSFDCCompliance;
extern BYTE IsXDCompliance;
extern WORD ReadBlock;
......
......@@ -44,7 +44,6 @@ static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 };
#define Clr_D_Bit(a, b) (a[(BYTE)((b) / 8)] &= ~BitData[(b) % 8])
#define Chk_D_Bit(a, b) (a[(BYTE)((b) / 8)] & BitData[(b) % 8])
BYTE IsSSFDCCompliance;
BYTE IsXDCompliance;
......
......@@ -8,6 +8,7 @@
static BYTE _Check_D_DevCode(BYTE);
static DWORD ErrXDCode;
static BYTE IsSSFDCCompliance;
struct keucr_media_info Ssfdc;
struct keucr_media_address Media;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment