summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-14 10:59:08 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 11:58:55 -0700
commit5f801f7f44805269ff750568a146c38b3367d7f0 (patch)
tree44346a93c9e9804129a0d41ee5db1c9ccce25439 /drivers/staging
parent9da9daf274002d240f5b72dd4d2e18e1f629ac26 (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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c10
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 b334a3d7f72..7c9d4a80ee0 100644
--- a/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c
+++ b/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c
@@ -100,10 +100,10 @@ typedef struct tRamPatch
-typedef struct ST_PS_DATA_FORMAT {
+struct st_ps_data_format {
enum eType eDataType;
bool bIsArray;
-}ST_PS_DATA_FORMAT;
+};
typedef struct ST_READ_STATUS {
unsigned uTagID;
@@ -146,7 +146,7 @@ char AthReadChar(u8 *buffer, u32 len,u32 *pos)
}
}
/* 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] != '[') {
pstFormat->eDataType = eHex;
@@ -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;
@@ -327,7 +327,7 @@ int AthParseFilesUnified(u8 *srcbuffer,u32 srclen, int FileFormat)
int uReadCount;
- ST_PS_DATA_FORMAT stPS_DataFormat;
+ struct st_ps_data_format stPS_DataFormat;
ST_READ_STATUS stReadStatus = {0, 0, 0,0};
pos = 0;
Buffer = NULL;