}
 
        while (pHandle->pstrMessageList) {
-               Message *pstrMessge = pHandle->pstrMessageList->pstrNext;
+               struct message *pstrMessge = pHandle->pstrMessageList->pstrNext;
 
                kfree(pHandle->pstrMessageList);
                pHandle->pstrMessageList = pstrMessge;
                             const void *pvSendBuffer, u32 u32SendBufferSize)
 {
        unsigned long flags;
-       Message *pstrMessage = NULL;
+       struct message *pstrMessage = NULL;
 
        if ((!pHandle) || (u32SendBufferSize == 0) || (!pvSendBuffer)) {
                PRINT_ER("pHandle or pvSendBuffer is null\n");
        }
 
        /* construct a new message */
-       pstrMessage = kmalloc(sizeof(Message), GFP_ATOMIC);
+       pstrMessage = kmalloc(sizeof(struct message), GFP_ATOMIC);
        if (!pstrMessage)
                return -ENOMEM;
 
        if (!pHandle->pstrMessageList) {
                pHandle->pstrMessageList  = pstrMessage;
        } else {
-               Message *pstrTailMsg = pHandle->pstrMessageList;
+               struct message *pstrTailMsg = pHandle->pstrMessageList;
 
                while (pstrTailMsg->pstrNext)
                        pstrTailMsg = pstrTailMsg->pstrNext;
                             void *pvRecvBuffer, u32 u32RecvBufferSize,
                             u32 *pu32ReceivedLength)
 {
-       Message *pstrMessage;
+       struct message *pstrMessage;
        unsigned long flags;
 
        if ((!pHandle) || (u32RecvBufferSize == 0)
 
 #include <linux/semaphore.h>
 
 /* Message Queue type is a structure */
-typedef struct __Message_struct {
+struct message {
        void *pvBuffer;
        u32 u32Length;
-       struct __Message_struct *pstrNext;
-} Message;
+       struct message *pstrNext;
+};
 
 typedef struct __MessageQueue_struct {
        struct semaphore hSem;
        spinlock_t strCriticalSection;
        bool bExiting;
        u32 u32ReceiversCount;
-       Message *pstrMessageList;
+       struct message *pstrMessageList;
 } WILC_MsgQueueHandle;
 
 /*!