diff options
author | Glen Lee | 2015-10-27 10:28:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-29 00:11:23 +0100 |
commit | 691bbd42b0dde916e489ee71babfa17bab32720e (patch) | |
tree | 39a28c9e8e381d97d4b951d9f17aa92c53f79688 /drivers/staging/wilc1000/wilc_wlan.h | |
parent | staging: wilc1000: mac_xmit: use netdev private wilc instead of g_linux_wlan (diff) | |
download | kernel-qcow2-linux-691bbd42b0dde916e489ee71babfa17bab32720e.tar.gz kernel-qcow2-linux-691bbd42b0dde916e489ee71babfa17bab32720e.tar.xz kernel-qcow2-linux-691bbd42b0dde916e489ee71babfa17bab32720e.zip |
staging: wilc1000: wilc_wlan_txq_add_net_pkt: add argument struct net_device
This patch add new argument struct net_device *dev and pass net_device to
wilc_wlan_txq_add_net_pkt.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging/wilc1000/wilc_wlan.h index d0b244848cc4..57e1d5174050 100644 --- a/drivers/staging/wilc1000/wilc_wlan.h +++ b/drivers/staging/wilc1000/wilc_wlan.h @@ -298,8 +298,8 @@ typedef struct { int wilc_wlan_firmware_download(const u8 *buffer, u32 buffer_size); int wilc_wlan_start(void); int wilc_wlan_stop(void); -int wilc_wlan_txq_add_net_pkt(void *priv, u8 *buffer, u32 buffer_size, - wilc_tx_complete_func_t func); +int wilc_wlan_txq_add_net_pkt(struct net_device *dev, void *priv, u8 *buffer, + u32 buffer_size, wilc_tx_complete_func_t func); int wilc_wlan_handle_txq(struct net_device *dev, u32 *pu32TxqCount); void wilc_handle_isr(void *wilc); void wilc_wlan_cleanup(struct net_device *dev); |