You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/06/04 08:38:07 UTC

[nuttx] branch master updated: serial/16550: Include nuttx/clk/clk.h

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 87aa067ab3 serial/16550: Include nuttx/clk/clk.h
87aa067ab3 is described below

commit 87aa067ab3bfdf3632d8314a0712800b0d36d77d
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Jun 3 21:28:27 2023 +0800

    serial/16550: Include nuttx/clk/clk.h
    
    to avoid the build break when CONFIG_CLK is enabled
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 drivers/serial/uart_16550.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/serial/uart_16550.c b/drivers/serial/uart_16550.c
index 150ce84232..3d5175617c 100644
--- a/drivers/serial/uart_16550.c
+++ b/drivers/serial/uart_16550.c
@@ -37,6 +37,7 @@
 
 #include <nuttx/irq.h>
 #include <nuttx/arch.h>
+#include <nuttx/clk/clk.h>
 #include <nuttx/dma/dma.h>
 #include <nuttx/serial/serial.h>
 #include <nuttx/fs/ioctl.h>