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>
This commit is contained in:
parent
449f9eefa1
commit
62a37b72ce
|
@ -752,7 +752,7 @@ static int ks7010_upload_firmware(struct ks_sdio_card *card)
|
||||||
struct ks_wlan_private *priv = card->priv;
|
struct ks_wlan_private *priv = card->priv;
|
||||||
struct sdio_func *func = ks7010_to_func(priv);
|
struct sdio_func *func = ks7010_to_func(priv);
|
||||||
unsigned int n;
|
unsigned int n;
|
||||||
unsigned char byte = 0;
|
u8 byte = 0;
|
||||||
int ret;
|
int ret;
|
||||||
const struct firmware *fw_entry = NULL;
|
const struct firmware *fw_entry = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue