forked from Minki/linux
staging: ks7010: use the same parameter for 'event' in hostif_sme_enqueue
Declaration of second parameter 'event' in ks_hostif .h and .c file is different using uint16_t and unsigned short respectively. Just unify both using 'u16' which is preferred instead. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
58f8128ecc
commit
2059ebe9bf
@ -2259,7 +2259,7 @@ void hostif_sme_task(unsigned long dev)
|
||||
}
|
||||
|
||||
/* send to Station Management Entity module */
|
||||
void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event)
|
||||
void hostif_sme_enqueue(struct ks_wlan_private *priv, u16 event)
|
||||
{
|
||||
/* enqueue sme event */
|
||||
if (cnt_smeqbody(priv) < (SME_EVENT_BUFF_SIZE - 1)) {
|
||||
|
@ -542,7 +542,7 @@ static inline bool is_hif_conf(unsigned short event)
|
||||
int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb);
|
||||
void hostif_receive(struct ks_wlan_private *priv, unsigned char *p,
|
||||
unsigned int size);
|
||||
void hostif_sme_enqueue(struct ks_wlan_private *priv, uint16_t event);
|
||||
void hostif_sme_enqueue(struct ks_wlan_private *priv, u16 event);
|
||||
int hostif_init(struct ks_wlan_private *priv);
|
||||
void hostif_exit(struct ks_wlan_private *priv);
|
||||
int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
|
||||
|
Loading…
Reference in New Issue
Block a user