Skip to content

Commit fa52ed2

Browse files
andy-shevgregkh
authored andcommitted
serial: 8250_exar: Make type of bit the same in exar_ee_*_bit()
Make type of bit parameter and returned one the same in exar_ee_*_bit(). Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Parker Newman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3c089d7 commit fa52ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/8250/8250_exar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static inline void exar_ee_deselect(struct exar8250 *priv)
280280
exar_write_reg(priv, UART_EXAR_REGB, 0x00);
281281
}
282282

283-
static inline void exar_ee_write_bit(struct exar8250 *priv, int bit)
283+
static inline void exar_ee_write_bit(struct exar8250 *priv, u8 bit)
284284
{
285285
u8 value = UART_EXAR_REGB_EECS;
286286

0 commit comments

Comments
 (0)