mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-23 01:34:31 -05:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3c089d7ebf
commit
fa52ed247c
@@ -280,7 +280,7 @@ static inline void exar_ee_deselect(struct exar8250 *priv)
|
||||
exar_write_reg(priv, UART_EXAR_REGB, 0x00);
|
||||
}
|
||||
|
||||
static inline void exar_ee_write_bit(struct exar8250 *priv, int bit)
|
||||
static inline void exar_ee_write_bit(struct exar8250 *priv, u8 bit)
|
||||
{
|
||||
u8 value = UART_EXAR_REGB_EECS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user