uart: ns16550: move command macro to public header
This moves the CMD_SET_DLF command macro to public header so application can use it without weird include path to include the "private" header file under drivers/serial. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
acf473f850
commit
bbb2f8277a
3 changed files with 27 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
#include <zephyr/spinlock.h>
|
||||
#include <zephyr/irq.h>
|
||||
|
||||
#include "uart_ns16550.h"
|
||||
#include <zephyr/drivers/serial/uart_ns16550.h>
|
||||
|
||||
#define INST_HAS_PCP_HELPER(inst) DT_INST_NODE_HAS_PROP(inst, pcp) ||
|
||||
#define INST_HAS_DLF_HELPER(inst) DT_INST_NODE_HAS_PROP(inst, dlf) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue