Staging: bcm: Remove typedef for _STTARGETDSXBUFFER and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 26 May 2012 16:04:58 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:06:35 +0000 (21:06 -0700)
This patch removes typedef for _STTARGETDSXBUFFER,
changes the name of the struct from
_STTARGETDSXBUFFER to bcm_targetdsx_buffer.
In addition, any calls to the following typedefs
"STTARGETDSXBUFFER, *PSTTARGETDSXBUFFER" are
changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Adapter.h

index 338f1acfdd184358a07b66d821104f165beae6ac..1d18ef9dd35c071792be12b80369ccd8d55818fd 100644 (file)
@@ -332,11 +332,11 @@ typedef struct _TARGET_PARAMS {
 } STARGETPARAMS, *PSTARGETPARAMS;
 #endif
 
-typedef struct _STTARGETDSXBUFFER {
+struct bcm_targetdsx_buffer {
        ULONG           ulTargetDsxBuffer;
        B_UINT16        tid;
        BOOLEAN         valid;
-} STTARGETDSXBUFFER, *PSTTARGETDSXBUFFER;
+};
 
 typedef int (*FP_FLASH_WRITE)(struct _MINI_ADAPTER *, UINT, PVOID);
 
@@ -404,7 +404,7 @@ struct _MINI_ADAPTER {
        UINT                    index_datpkt;
        struct semaphore        rdmwrmsync;
 
-       STTARGETDSXBUFFER       astTargetDsxBuffer[MAX_TARGET_DSX_BUFFERS];
+       struct bcm_targetdsx_buffer     astTargetDsxBuffer[MAX_TARGET_DSX_BUFFERS];
        ULONG                   ulFreeTargetBufferCnt;
        ULONG                   ulCurrentTargetBuffer;
        ULONG                   ulTotalTargetBuffersAvailable;