[PATCH 12/34] staging: bcm: Remove typedef CHAR, use char

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

 



Use the normal types.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
 drivers/staging/bcm/Adapter.h             |    2 +-
 drivers/staging/bcm/HandleControlPacket.c |    2 +-
 drivers/staging/bcm/Typedefs.h            |    1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index b4aca41..69ddc1e 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -359,7 +359,7 @@ struct _MINI_ADAPTER {
 	struct net_device	*dev;
 	u32			msg_enable;
 
-	CHAR                *caDsxReqResp;
+	char		*caDsxReqResp;
 	atomic_t		ApplicationRunning;
 	volatile int		CtrlQueueLen;
 	atomic_t	AppCtrlQueueLen;
diff --git a/drivers/staging/bcm/HandleControlPacket.c b/drivers/staging/bcm/HandleControlPacket.c
index 0b8b8e7..a8e41ff 100644
--- a/drivers/staging/bcm/HandleControlPacket.c
+++ b/drivers/staging/bcm/HandleControlPacket.c
@@ -16,7 +16,7 @@ static VOID handle_rx_control_packet(PMINI_ADAPTER Adapter, struct sk_buff *skb)
 	PPER_TARANG_DATA pTarang = NULL;
 	BOOLEAN HighPriorityMessage = FALSE;
 	struct sk_buff *newPacket = NULL;
-	CHAR cntrl_msg_mask_bit = 0;
+	char cntrl_msg_mask_bit = 0;
 	BOOLEAN drop_pkt_flag = TRUE;
 	unsigned short usStatus = *(unsigned short *)(skb->data);
 
diff --git a/drivers/staging/bcm/Typedefs.h b/drivers/staging/bcm/Typedefs.h
index 4686605..2cbb1f3 100644
--- a/drivers/staging/bcm/Typedefs.h
+++ b/drivers/staging/bcm/Typedefs.h
@@ -10,7 +10,6 @@
 #define	 TRUE		1
 
 typedef char BOOLEAN;
-typedef char CHAR;
 typedef short SHORT;
 typedef long LONG;
 typedef void VOID;
-- 
1.7.8.111.gad25c.dirty

_______________________________________________
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