arch/arm/src/sama5/sam_dbgu.c: Fix a type mismatch

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 13:27:21 +09:00 committed by Xiang Xiao
parent 4b269aaea5
commit b142c9c7cf
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ static int dbgu_attach(struct uart_dev_s *dev);
static void dbgu_detach(struct uart_dev_s *dev);
static int dbgu_interrupt(int irq, void *context, FAR void *arg);
static int dbgu_ioctl(struct file *filep, int cmd, unsigned long arg);
static int dbgu_receive(struct uart_dev_s *dev, uint32_t *status);
static int dbgu_receive(struct uart_dev_s *dev, unsigned int *status);
static void dbgu_rxint(struct uart_dev_s *dev, bool enable);
static bool dbgu_rxavailable(struct uart_dev_s *dev);
static void dbgu_send(struct uart_dev_s *dev, int ch);
@ -437,7 +437,7 @@ static int dbgu_ioctl(struct file *filep, int cmd, unsigned long arg)
*
****************************************************************************/
static int dbgu_receive(struct uart_dev_s *dev, uint32_t *status)
static int dbgu_receive(struct uart_dev_s *dev, unsigned int *status)
{
struct dbgu_dev_s *priv = (struct dbgu_dev_s *)dev->priv;