arch/arm/src/kinetis/kinetis_lpserial.c: Fix a type mismatch

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 15:57:22 +09:00 committed by Xiang Xiao
parent 4f514f41d4
commit b4815f8fc9

View File

@ -257,7 +257,7 @@ static int kinetis_attach(struct uart_dev_s *dev);
static void kinetis_detach(struct uart_dev_s *dev);
static int kinetis_interrupt(int irq, void *context, void *arg);
static int kinetis_ioctl(struct file *filep, int cmd, unsigned long arg);
static int kinetis_receive(struct uart_dev_s *dev, uint32_t *status);
static int kinetis_receive(struct uart_dev_s *dev, unsigned int *status);
static void kinetis_rxint(struct uart_dev_s *dev, bool enable);
static bool kinetis_rxavailable(struct uart_dev_s *dev);
#ifdef CONFIG_SERIAL_IFLOWCONTROL
@ -1076,7 +1076,7 @@ static int kinetis_ioctl(struct file *filep, int cmd, unsigned long arg)
*
****************************************************************************/
static int kinetis_receive(struct uart_dev_s *dev, uint32_t *status)
static int kinetis_receive(struct uart_dev_s *dev, unsigned int *status)
{
struct kinetis_dev_s *priv = (struct kinetis_dev_s *)dev->priv;
uint32_t regval;