drivers: uart_mux: Add missing verfification handler
Add the verifcation handler for the syscall uart_mux_find. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
8b3a606009
commit
b0d1abac9c
1 changed files with 8 additions and 0 deletions
|
@ -704,6 +704,14 @@ struct device *uart_mux_alloc(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USERSPACE
|
||||
static inline struct device *z_vrfy_uart_mux_find(int dlci_address)
|
||||
{
|
||||
return z_impl_uart_mux_find(dlci_address);
|
||||
}
|
||||
#include <syscalls/uart_mux_find_mrsh.c>
|
||||
#endif /* CONFIG_USERSPACE */
|
||||
|
||||
struct device *z_impl_uart_mux_find(int dlci_address)
|
||||
{
|
||||
sys_snode_t *sn, *sns;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue