staging: wilc1000: rename tWILCpfRemainOnChanReady
authorLeo Kim <leo.kim@atmel.com>
Mon, 5 Oct 2015 06:25:50 +0000 (15:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:56:03 +0000 (10:56 +0100)
This patch renames tWILCpfRemainOnChanReady to wilc_remain_on_chan_ready.

Signed-off-by: Leo Kim <leo.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
drivers/staging/wilc1000/host_interface.h

index ddc729cc8a882d8d4fce8adc0a46e9a00a11a164..e8057870cde18ef72cb728223db618a420cf8279 100644 (file)
@@ -6383,7 +6383,7 @@ void host_int_ScanCompleteReceived(u8 *pu8Buffer, u32 u32Length)
  *  @date
  *  @version           1.0
  */
-s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u32duration, u16 chan, wilc_remain_on_chan_expired RemainOnChanExpired, tWILCpfRemainOnChanReady RemainOnChanReady, void *pvUserArg)
+s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u32duration, u16 chan, wilc_remain_on_chan_expired RemainOnChanExpired, wilc_remain_on_chan_ready RemainOnChanReady, void *pvUserArg)
 {
        s32 s32Error = 0;
        tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
index d33e4ee81c31f8728cec9689dce53488b9ea9c48..7c2846e9eb99a3b6d38bd2c5eb8428fc0666bf08 100644 (file)
@@ -191,7 +191,7 @@ typedef void (*wilc_connect_result)(tenuConnDisconnEvent,
                                     void *);
 
 typedef void (*wilc_remain_on_chan_expired)(void *, u32);  /*Remain on channel expiration callback function*/
-typedef void (*tWILCpfRemainOnChanReady)(void *); /*Remain on channel callback function*/
+typedef void (*wilc_remain_on_chan_ready)(void *); /*Remain on channel callback function*/
 
 /* typedef u32 WILC_WFIDrvHandle; */
 typedef struct {
@@ -278,7 +278,7 @@ struct remain_ch {
        u16 u16Channel;
        u32 u32duration;
        wilc_remain_on_chan_expired pRemainOnChanExpired;
-       tWILCpfRemainOnChanReady pRemainOnChanReady;
+       wilc_remain_on_chan_ready pRemainOnChanReady;
        void *pVoid;
        u32 u32ListenSessionID;
 };
@@ -1149,7 +1149,7 @@ s32 host_int_get_ipaddress(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8IPAddr, u8 idx);
  *  @date
  *  @version   1.0
  */
-s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u32duration, u16 chan, wilc_remain_on_chan_expired RemainOnChanExpired, tWILCpfRemainOnChanReady RemainOnChanReady, void *pvUserArg);
+s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u32duration, u16 chan, wilc_remain_on_chan_expired RemainOnChanExpired, wilc_remain_on_chan_ready RemainOnChanReady, void *pvUserArg);
 
 /**
  *  @brief              host_int_ListenStateExpired