diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2011-03-14 13:59:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 14:58:55 -0400 |
commit | 5f801f7f44805269ff750568a146c38b3367d7f0 (patch) | |
tree | 44346a93c9e9804129a0d41ee5db1c9ccce25439 | |
parent | 9da9daf274002d240f5b72dd4d2e18e1f629ac26 (diff) |
ath6kl: remove-typedef ST_PS_DATA_FORMAT
remove-typedef -s ST_PS_DATA_FORMAT \
"struct st_ps_data_format" drivers/staging/ath6kl/
Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c b/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c index b334a3d7f72a..7c9d4a80ee0d 100644 --- a/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c +++ b/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c | |||
@@ -100,10 +100,10 @@ typedef struct tRamPatch | |||
100 | 100 | ||
101 | 101 | ||
102 | 102 | ||
103 | typedef struct ST_PS_DATA_FORMAT { | 103 | struct st_ps_data_format { |
104 | enum eType eDataType; | 104 | enum eType eDataType; |
105 | bool bIsArray; | 105 | bool bIsArray; |
106 | }ST_PS_DATA_FORMAT; | 106 | }; |
107 | 107 | ||
108 | typedef struct ST_READ_STATUS { | 108 | typedef struct ST_READ_STATUS { |
109 | unsigned uTagID; | 109 | unsigned uTagID; |
@@ -146,7 +146,7 @@ char AthReadChar(u8 *buffer, u32 len,u32 *pos) | |||
146 | } | 146 | } |
147 | } | 147 | } |
148 | /* PS parser helper function */ | 148 | /* PS parser helper function */ |
149 | unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat) | 149 | unsigned int uGetInputDataFormat(char *pCharLine, struct st_ps_data_format *pstFormat) |
150 | { | 150 | { |
151 | if(pCharLine[0] != '[') { | 151 | if(pCharLine[0] != '[') { |
152 | pstFormat->eDataType = eHex; | 152 | pstFormat->eDataType = eHex; |
@@ -286,7 +286,7 @@ unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat) | |||
286 | } | 286 | } |
287 | } | 287 | } |
288 | 288 | ||
289 | unsigned int uReadDataInSection(char *pCharLine, ST_PS_DATA_FORMAT stPS_DataFormat) | 289 | unsigned int uReadDataInSection(char *pCharLine, struct st_ps_data_format stPS_DataFormat) |
290 | { | 290 | { |
291 | char *pTokenPtr = pCharLine; | 291 | char *pTokenPtr = pCharLine; |
292 | 292 | ||
@@ -327,7 +327,7 @@ int AthParseFilesUnified(u8 *srcbuffer,u32 srclen, int FileFormat) | |||
327 | 327 | ||
328 | 328 | ||
329 | int uReadCount; | 329 | int uReadCount; |
330 | ST_PS_DATA_FORMAT stPS_DataFormat; | 330 | struct st_ps_data_format stPS_DataFormat; |
331 | ST_READ_STATUS stReadStatus = {0, 0, 0,0}; | 331 | ST_READ_STATUS stReadStatus = {0, 0, 0,0}; |
332 | pos = 0; | 332 | pos = 0; |
333 | Buffer = NULL; | 333 | Buffer = NULL; |