diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-05-13 20:35:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 14:07:06 +0200 |
commit | 62a37b72ced4f73d605c1a8654417c5f1625ce06 (patch) | |
tree | 818849f10536531b07f99822ee742ec5e159902d /drivers/staging/ks7010 | |
parent | 449f9eefa19c7255913db2ef10980982d3e79c0c (diff) | |
download | linux-62a37b72ced4f73d605c1a8654417c5f1625ce06.tar.gz linux-62a37b72ced4f73d605c1a8654417c5f1625ce06.tar.bz2 linux-62a37b72ced4f73d605c1a8654417c5f1625ce06.zip |
staging: ks7010: replace unsigned char type with u8
Variable 'byte' in ks7010_upload_firmware function is declared
as unsigned char and is only being used to read hardware
registers which are expected in sdio_read_byteb function as u8.
Change 'byte' variable type to u8 which is preferred.
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/ks7010_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index d236dfec3359..f56db0772b45 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -752,7 +752,7 @@ static int ks7010_upload_firmware(struct ks_sdio_card *card) struct ks_wlan_private *priv = card->priv; struct sdio_func *func = ks7010_to_func(priv); unsigned int n; - unsigned char byte = 0; + u8 byte = 0; int ret; const struct firmware *fw_entry = NULL; |