Skip to content
Commit 34377221 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

serial: CONFIG_UART_USE_RUNTIME_CONFIGURE on API for cfg funcs



This adds the CONFIG_UART_USE_RUNTIME_CONFIGURE guard to
disable the API function pointers if the kconfig is not enabled.
Both .configure and .config_get should only be usable if runtime
(re-)configuration of UART is needed.

Ifdef guards are added to drivers previously lacking this guard.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 91353053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment