From a65a1e619e54c19b0d552fe2769f190f5c8fee11 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Tue, 16 Jun 2026 17:04:19 +0200 Subject: [PATCH] drivers/serial/uart_ram: match uart_ops_s receive() prototype fix uart_ops_s receive() prototype Signed-off-by: raiden00pl --- drivers/serial/uart_ram.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/uart_ram.c b/drivers/serial/uart_ram.c index 9735eb41853..a172396a404 100644 --- a/drivers/serial/uart_ram.c +++ b/drivers/serial/uart_ram.c @@ -64,7 +64,7 @@ static void uart_ram_detach(FAR struct uart_dev_s *dev); static int uart_ram_ioctl(FAR struct file *filep, int cmd, unsigned long arg); static int uart_ram_receive(FAR struct uart_dev_s *dev, - FAR uint32_t *status); + FAR unsigned int *status); static void uart_ram_rxint(FAR struct uart_dev_s *dev, bool enable); static bool uart_ram_rxavailable(FAR struct uart_dev_s *dev); static void uart_ram_dmasend(FAR struct uart_dev_s *dev); @@ -300,7 +300,8 @@ static int uart_ram_ioctl(FAR struct file *filep, int cmd, unsigned long arg) * Name: uart_ram_receive ****************************************************************************/ -static int uart_ram_receive(FAR struct uart_dev_s *dev, FAR uint32_t *status) +static int uart_ram_receive(FAR struct uart_dev_s *dev, + FAR unsigned int *status) { FAR struct uart_ram_s *priv = dev->priv; int rdoff;