arch/risc-v/src/fe310/fe310_serial.c: Fix a type mismatch
This commit is contained in:
parent
ce7fae15e4
commit
1170d0f71c
@ -135,7 +135,7 @@ static int up_attach(struct uart_dev_s *dev);
|
|||||||
static void up_detach(struct uart_dev_s *dev);
|
static void up_detach(struct uart_dev_s *dev);
|
||||||
static int up_interrupt(int irq, void *context, FAR void *arg);
|
static int up_interrupt(int irq, void *context, FAR void *arg);
|
||||||
static int up_ioctl(struct file *filep, int cmd, unsigned long arg);
|
static int up_ioctl(struct file *filep, int cmd, unsigned long arg);
|
||||||
static int up_receive(struct uart_dev_s *dev, uint32_t *status);
|
static int up_receive(struct uart_dev_s *dev, unsigned int *status);
|
||||||
static void up_rxint(struct uart_dev_s *dev, bool enable);
|
static void up_rxint(struct uart_dev_s *dev, bool enable);
|
||||||
static bool up_rxavailable(struct uart_dev_s *dev);
|
static bool up_rxavailable(struct uart_dev_s *dev);
|
||||||
static void up_send(struct uart_dev_s *dev, int ch);
|
static void up_send(struct uart_dev_s *dev, int ch);
|
||||||
@ -444,7 +444,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static int up_receive(struct uart_dev_s *dev, uint32_t *status)
|
static int up_receive(struct uart_dev_s *dev, unsigned int *status)
|
||||||
{
|
{
|
||||||
/* Return status information */
|
/* Return status information */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user