diff options
author | 2018-05-13 20:35:49 +0200 | |
---|---|---|
committer | 2018-05-14 14:07:06 +0200 | |
commit | 5503fd5afd8ea3066616b22e7b617c00bb78993e (patch) | |
tree | bab7e7e239da7d18411b5739df263fb61f3d1495 /drivers/staging/ks7010 | |
parent | staging: ks7010: avoid no needed cast in ks_wlan_cap (diff) | |
download | linux-5503fd5afd8ea3066616b22e7b617c00bb78993e.tar.gz linux-5503fd5afd8ea3066616b22e7b617c00bb78993e.tar.bz2 linux-5503fd5afd8ea3066616b22e7b617c00bb78993e.zip |
staging: ks7010: use u16 as cast type in hostif_start_request
Use u16 as cast type in hostif_start_request function replacing
uint16_t which was being used.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r-- | drivers/staging/ks7010/ks_hostif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index adc6ccffc87b..ee8dcb3cb342 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -1253,7 +1253,7 @@ void hostif_start_request(struct ks_wlan_private *priv, unsigned char mode) if (!pp) return; - pp->mode = cpu_to_le16((uint16_t)mode); + pp->mode = cpu_to_le16((u16)mode); send_request_to_device(priv, pp, hif_align_size(sizeof(*pp))); |