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:
Flavio Ceolin 2020-05-18 16:41:53 -07:00 committed by Anas Nashif
commit b0d1abac9c

View file

@ -704,6 +704,14 @@ struct device *uart_mux_alloc(void)
return NULL; 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) struct device *z_impl_uart_mux_find(int dlci_address)
{ {
sys_snode_t *sn, *sns; sys_snode_t *sn, *sns;