Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37531643 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: Remove typedef for _STTARGETDSXBUFFER and call directly.



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: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 406a5082
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -332,11 +332,11 @@ typedef struct _TARGET_PARAMS {
} STARGETPARAMS, *PSTARGETPARAMS;
} STARGETPARAMS, *PSTARGETPARAMS;
#endif
#endif


typedef struct _STTARGETDSXBUFFER {
struct bcm_targetdsx_buffer {
	ULONG		ulTargetDsxBuffer;
	ULONG		ulTargetDsxBuffer;
	B_UINT16	tid;
	B_UINT16	tid;
	BOOLEAN		valid;
	BOOLEAN		valid;
} STTARGETDSXBUFFER, *PSTTARGETDSXBUFFER;
};


typedef int (*FP_FLASH_WRITE)(struct _MINI_ADAPTER *, UINT, PVOID);
typedef int (*FP_FLASH_WRITE)(struct _MINI_ADAPTER *, UINT, PVOID);


@@ -404,7 +404,7 @@ struct _MINI_ADAPTER {
	UINT			index_datpkt;
	UINT			index_datpkt;
	struct semaphore	rdmwrmsync;
	struct semaphore	rdmwrmsync;


	STTARGETDSXBUFFER	astTargetDsxBuffer[MAX_TARGET_DSX_BUFFERS];
	struct bcm_targetdsx_buffer	astTargetDsxBuffer[MAX_TARGET_DSX_BUFFERS];
	ULONG			ulFreeTargetBufferCnt;
	ULONG			ulFreeTargetBufferCnt;
	ULONG			ulCurrentTargetBuffer;
	ULONG			ulCurrentTargetBuffer;
	ULONG			ulTotalTargetBuffersAvailable;
	ULONG			ulTotalTargetBuffersAvailable;