]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: change void pointer type to real type
authorJohnny Kim <johnny.kim@atmel.com>
Thu, 13 Aug 2015 04:41:20 +0000 (13:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 02:02:01 +0000 (19:02 -0700)
This patch changes the void pointer member of the tstrHostIFmsg to the
real data type because the void pointer type is ambiguous and not
readable.

Signed-off-by: Johnny Kim <johnny.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 11b1cf704b50fec00f730940c92f08f0345a7669..ecab76ea44b9d476f494ec9b477aa0084755b4c1 100644 (file)
@@ -466,7 +466,7 @@ typedef union _tuniHostIFmsgBody {
 typedef struct _tstrHostIFmsg {
        u16 u16MsgId;                                           /*!< Message ID */
        tuniHostIFmsgBody uniHostIFmsgBody;             /*!< Message body */
-       void *drvHandler;
+       tstrWILC_WFIDrv *drvHandler;
 } tstrHostIFmsg;
 
 #ifdef CONNECT_DIRECT