Replace user-defined data type CHAR with C defined char data type. Signed-off-by: Lisa Nguyen <lisa@xxxxxxxxxxxxxxx> --- 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 56fed62..a4b1fb1 100644 --- a/drivers/staging/bcm/Adapter.h +++ b/drivers/staging/bcm/Adapter.h @@ -219,7 +219,7 @@ struct bcm_mini_adapter { struct bcm_mini_adapter *next; struct net_device *dev; u32 msg_enable; - CHAR *caDsxReqResp; + char *caDsxReqResp; atomic_t ApplicationRunning; bool AppCtrlQueueOverFlow; atomic_t CurrentApplicationCount; diff --git a/drivers/staging/bcm/HandleControlPacket.c b/drivers/staging/bcm/HandleControlPacket.c index c086169..1973d27 100644 --- a/drivers/staging/bcm/HandleControlPacket.c +++ b/drivers/staging/bcm/HandleControlPacket.c @@ -16,7 +16,7 @@ static VOID handle_rx_control_packet(struct bcm_mini_adapter *Adapter, struct sk struct bcm_tarang_data *pTarang = NULL; bool HighPriorityMessage = false; struct sk_buff *newPacket = NULL; - CHAR cntrl_msg_mask_bit = 0; + char cntrl_msg_mask_bit = 0; bool drop_pkt_flag = TRUE; USHORT usStatus = *(PUSHORT)(skb->data); diff --git a/drivers/staging/bcm/Typedefs.h b/drivers/staging/bcm/Typedefs.h index 9d8fd1b..cc22d48 100644 --- a/drivers/staging/bcm/Typedefs.h +++ b/drivers/staging/bcm/Typedefs.h @@ -10,7 +10,6 @@ #define TRUE 1 -typedef char CHAR; typedef int INT; typedef short SHORT; typedef long LONG; -- 1.8.1.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel