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 <andriy.shevchenko@linux.intel.com> Tested-by: Parker Newman <pnewman@connecttech.com> Link: https://lore.kernel.org/r/20240503171917.2921250-13-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3c089d7 commit fa52ed2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)