diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-09 10:46:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-10 11:19:52 -0700 |
commit | d8aba9d5d6c0d9809798967b9aac293690233b6d (patch) | |
tree | 63af373225d7e5714839f1927951e84a016deb5b /drivers/staging/keucr/smil.h | |
parent | e5813f8449f7c6ef71346b21e30b92c84133fd0f (diff) |
staging/keucr: fix sparse statics and non-ANSI function warnings
Make lots of functions and data static (fixes sparse warnings).
Fix 5 functions to use ANSI format for function parameters (fixes
sparse warnings).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/keucr/smil.h')
-rw-r--r-- | drivers/staging/keucr/smil.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/keucr/smil.h b/drivers/staging/keucr/smil.h index 4226813ba588..24506058c58c 100644 --- a/drivers/staging/keucr/smil.h +++ b/drivers/staging/keucr/smil.h @@ -206,6 +206,19 @@ struct CIS_AREA }; +extern BYTE IsSSFDCCompliance; +extern BYTE IsXDCompliance; + +extern DWORD ErrXDCode; +extern DWORD ErrCode; +extern WORD ReadBlock; +extern WORD WriteBlock; +extern DWORD MediaChange; + +extern struct SSFDCTYPE Ssfdc; +extern struct ADDRESS Media; +extern struct CIS_AREA CisArea; + //----- SMILMain.c --------------------------------------------------- /******************************************/ int Init_D_SmartMedia (void); @@ -223,6 +236,7 @@ int Media_D_OneSectWriteNext (struct us_data *,BYTE *); int Media_D_OneSectWriteFlush (struct us_data *); /******************************************/ +extern int SM_FreeMem(void); /* ENE SM function */ void SM_EnableLED (struct us_data *,BOOLEAN); void Led_D_TernOn (void); void Led_D_TernOff (void); |