diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-09 17:46:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-10 18:19:52 (GMT) |
commit | d8aba9d5d6c0d9809798967b9aac293690233b6d (patch) | |
tree | 63af373225d7e5714839f1927951e84a016deb5b /drivers/staging/keucr/smilsub.c | |
parent | e5813f8449f7c6ef71346b21e30b92c84133fd0f (diff) | |
download | linux-fsl-qoriq-d8aba9d5d6c0d9809798967b9aac293690233b6d.tar.xz |
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/smilsub.c')
-rw-r--r-- | drivers/staging/keucr/smilsub.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c index 4fe4742..3c1c0d4 100644 --- a/drivers/staging/keucr/smilsub.c +++ b/drivers/staging/keucr/smilsub.c @@ -42,10 +42,8 @@ struct SSFDCTYPE Ssfdc; struct ADDRESS Media; struct CIS_AREA CisArea; -BYTE EccBuf[6]; +static BYTE EccBuf[6]; extern PBYTE SMHostAddr; -extern BYTE IsSSFDCCompliance; -extern BYTE IsXDCompliance; extern DWORD ErrXDCode; extern WORD ReadBlock; |