[PATCH 13/16] Staging: bcm: Remove typedef for _INTR_ENDP_IN and call directly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes typedef for
_INTR_ENDP_IN, changes the name of the
struct to bcm_intr_endpoint_in. In addition,
any calls to typedefs INTR_ENDP_IN, or
*PINTR_ENDP_IN are changed to call the
struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx>
---
 drivers/staging/bcm/InterfaceAdapter.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/bcm/InterfaceAdapter.h b/drivers/staging/bcm/InterfaceAdapter.h
index 846bca0..a304480 100644
--- a/drivers/staging/bcm/InterfaceAdapter.h
+++ b/drivers/staging/bcm/InterfaceAdapter.h
@@ -18,13 +18,13 @@ typedef struct _BULK_ENDP_OUT {
 	unsigned char	int_out_interval;
 } BULK_ENDP_OUT, *PBULK_ENDP_OUT;
 
-typedef struct _INTR_ENDP_IN {
+struct bcm_intr_endpoint_in {
 	char	*int_in_buffer;
 	size_t	int_in_size;
 	unsigned char	int_in_endpointAddr;
 	unsigned char	int_in_interval;
 	unsigned int	int_in_pipe;
-} INTR_ENDP_IN, *PINTR_ENDP_IN;
+};
 
 struct bcm_intr_endpoint_out {
 	char	*int_out_buffer;
@@ -58,7 +58,7 @@ struct bcm_interface_adapter {
 	/* Bulk endpoint out info */
 	BULK_ENDP_OUT	sBulkOut;
 	/* Interrupt endpoint in info */
-	INTR_ENDP_IN	sIntrIn;
+	struct bcm_intr_endpoint_in	sIntrIn;
 	/* Interrupt endpoint out info */
 	struct bcm_intr_endpoint_out	sIntrOut;
 	ULONG		ulInterruptData[2];
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux