提交 5f801f7f 编写于 作者: L Luis R. Rodriguez 提交者: Greg Kroah-Hartman

ath6kl: remove-typedef ST_PS_DATA_FORMAT

remove-typedef -s ST_PS_DATA_FORMAT \
	"struct st_ps_data_format" drivers/staging/ath6kl/
Tested-by: NNaveen Singh <nsingh@atheros.com>
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9da9daf2
...@@ -100,10 +100,10 @@ typedef struct tRamPatch ...@@ -100,10 +100,10 @@ typedef struct tRamPatch
typedef struct ST_PS_DATA_FORMAT { struct st_ps_data_format {
enum eType eDataType; enum eType eDataType;
bool bIsArray; bool bIsArray;
}ST_PS_DATA_FORMAT; };
typedef struct ST_READ_STATUS { typedef struct ST_READ_STATUS {
unsigned uTagID; unsigned uTagID;
...@@ -146,7 +146,7 @@ char AthReadChar(u8 *buffer, u32 len,u32 *pos) ...@@ -146,7 +146,7 @@ char AthReadChar(u8 *buffer, u32 len,u32 *pos)
} }
} }
/* PS parser helper function */ /* PS parser helper function */
unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat) unsigned int uGetInputDataFormat(char *pCharLine, struct st_ps_data_format *pstFormat)
{ {
if(pCharLine[0] != '[') { if(pCharLine[0] != '[') {
pstFormat->eDataType = eHex; pstFormat->eDataType = eHex;
...@@ -286,7 +286,7 @@ unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat) ...@@ -286,7 +286,7 @@ unsigned int uGetInputDataFormat(char *pCharLine, ST_PS_DATA_FORMAT *pstFormat)
} }
} }
unsigned int uReadDataInSection(char *pCharLine, ST_PS_DATA_FORMAT stPS_DataFormat) unsigned int uReadDataInSection(char *pCharLine, struct st_ps_data_format stPS_DataFormat)
{ {
char *pTokenPtr = pCharLine; char *pTokenPtr = pCharLine;
...@@ -327,7 +327,7 @@ int AthParseFilesUnified(u8 *srcbuffer,u32 srclen, int FileFormat) ...@@ -327,7 +327,7 @@ int AthParseFilesUnified(u8 *srcbuffer,u32 srclen, int FileFormat)
int uReadCount; int uReadCount;
ST_PS_DATA_FORMAT stPS_DataFormat; struct st_ps_data_format stPS_DataFormat;
ST_READ_STATUS stReadStatus = {0, 0, 0,0}; ST_READ_STATUS stReadStatus = {0, 0, 0,0};
pos = 0; pos = 0;
Buffer = NULL; Buffer = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册