drivers: serial: remove usage of device_pm_control_nop
device_pm_control_nop is now deprecated in favour of NULL. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
aa1c8e2ee9
commit
a4081b66d8
32 changed files with 45 additions and 45 deletions
|
@ -352,7 +352,7 @@ static const struct leuart_gecko_config leuart_gecko_0_config = {
|
|||
static struct leuart_gecko_data leuart_gecko_0_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &leuart_gecko_init,
|
||||
device_pm_control_nop, &leuart_gecko_0_data,
|
||||
NULL, &leuart_gecko_0_data,
|
||||
&leuart_gecko_0_config, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&leuart_gecko_driver_api);
|
||||
|
@ -405,7 +405,7 @@ static const struct leuart_gecko_config leuart_gecko_1_config = {
|
|||
static struct leuart_gecko_data leuart_gecko_1_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(1, &leuart_gecko_init,
|
||||
device_pm_control_nop, &leuart_gecko_1_data,
|
||||
NULL, &leuart_gecko_1_data,
|
||||
&leuart_gecko_1_config, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&leuart_gecko_driver_api);
|
||||
|
|
|
@ -58,7 +58,7 @@ static const struct uart_device_config uart_altera_jtag_dev_cfg_0 = {
|
|||
};
|
||||
|
||||
DEVICE_DEFINE(uart_altera_jtag_0, "jtag_uart0",
|
||||
uart_altera_jtag_init, device_pm_control_nop, NULL,
|
||||
uart_altera_jtag_init, NULL, NULL,
|
||||
&uart_altera_jtag_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&uart_altera_jtag_driver_api);
|
||||
|
|
|
@ -530,7 +530,7 @@ static const struct uart_driver_api apbuart_driver_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(index, \
|
||||
&apbuart_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&apbuart##index##_data, \
|
||||
&apbuart##index##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -329,7 +329,7 @@ static struct uart_cc32xx_dev_data_t uart_cc32xx_dev_data_##idx = { \
|
|||
IF_ENABLED(CONFIG_UART_INTERRUPT_DRIVEN, (.cb = NULL,)) \
|
||||
}; \
|
||||
DEVICE_DT_INST_DEFINE(idx, uart_cc32xx_init, \
|
||||
device_pm_control_nop, &uart_cc32xx_dev_data_##idx, \
|
||||
NULL, &uart_cc32xx_dev_data_##idx, \
|
||||
&uart_cc32xx_dev_cfg_##idx, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
(void *)&uart_cc32xx_driver_api); \
|
||||
|
|
|
@ -505,7 +505,7 @@ static struct uart_cmsdk_apb_dev_data uart_cmsdk_apb_dev_data_0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&uart_cmsdk_apb_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_cmsdk_apb_dev_data_0,
|
||||
&uart_cmsdk_apb_dev_cfg_0, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -570,7 +570,7 @@ static struct uart_cmsdk_apb_dev_data uart_cmsdk_apb_dev_data_1 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(1,
|
||||
&uart_cmsdk_apb_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_cmsdk_apb_dev_data_1,
|
||||
&uart_cmsdk_apb_dev_cfg_1, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -635,7 +635,7 @@ static struct uart_cmsdk_apb_dev_data uart_cmsdk_apb_dev_data_2 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(2,
|
||||
&uart_cmsdk_apb_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_cmsdk_apb_dev_data_2,
|
||||
&uart_cmsdk_apb_dev_cfg_2, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -700,7 +700,7 @@ static struct uart_cmsdk_apb_dev_data uart_cmsdk_apb_dev_data_3 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(3,
|
||||
&uart_cmsdk_apb_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_cmsdk_apb_dev_data_3,
|
||||
&uart_cmsdk_apb_dev_cfg_3, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -765,7 +765,7 @@ static struct uart_cmsdk_apb_dev_data uart_cmsdk_apb_dev_data_4 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(4,
|
||||
&uart_cmsdk_apb_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_cmsdk_apb_dev_data_4,
|
||||
&uart_cmsdk_apb_dev_cfg_4, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
|
|
@ -536,7 +536,7 @@ static struct uart_esp32_data uart_esp32_data_##idx = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(idx, \
|
||||
uart_esp32_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&uart_esp32_data_##idx, \
|
||||
&uart_esp32_cfg_port_##idx, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -547,7 +547,7 @@ static const struct uart_driver_api uart_gecko_driver_api = {
|
|||
static struct uart_gecko_data uart_gecko_data_##idx; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(idx, &uart_gecko_init, \
|
||||
device_pm_control_nop, &uart_gecko_data_##idx, \
|
||||
NULL, &uart_gecko_data_##idx, \
|
||||
&uart_gecko_cfg_##idx, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&uart_gecko_driver_api); \
|
||||
|
@ -604,7 +604,7 @@ DT_INST_FOREACH_STATUS_OKAY(GECKO_UART_INIT)
|
|||
\
|
||||
static struct uart_gecko_data usart_gecko_data_##idx; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(idx, &uart_gecko_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(idx, &uart_gecko_init, NULL, \
|
||||
&usart_gecko_data_##idx, \
|
||||
&usart_gecko_cfg_##idx, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -316,7 +316,7 @@ static const struct uart_driver_api uart_imx_driver_api = {
|
|||
\
|
||||
static const struct imx_uart_config imx_uart_##n##_config; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_imx_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_imx_init, NULL, \
|
||||
&imx_uart_##n##_data, &imx_uart_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -319,7 +319,7 @@ static const struct uart_liteuart_device_config uart_liteuart_dev_cfg_0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
uart_liteuart_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_liteuart_data_0, &uart_liteuart_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
(void *)&uart_liteuart_driver_api);
|
||||
|
|
|
@ -440,7 +440,7 @@ static struct lpc11u6x_uart0_data uart0_data;
|
|||
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(uart0),
|
||||
&lpc11u6x_uart0_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart0_data, &uart0_config,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
|
||||
&uart0_api);
|
||||
|
@ -894,7 +894,7 @@ static const struct lpc11u6x_uartx_config uart_cfg_##idx = { \
|
|||
static struct lpc11u6x_uartx_data uart_data_##idx; \
|
||||
\
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(uart##idx), \
|
||||
&lpc11u6x_uartx_init, device_pm_control_nop, \
|
||||
&lpc11u6x_uartx_init, NULL, \
|
||||
&uart_data_##idx, &uart_cfg_##idx, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, \
|
||||
&uartx_api)
|
||||
|
|
|
@ -406,7 +406,7 @@ static const struct uart_mcux_config uart_mcux_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&uart_mcux_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&uart_mcux_##n##_data, \
|
||||
&uart_mcux_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -332,7 +332,7 @@ static const struct mcux_flexcomm_config mcux_flexcomm_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&mcux_flexcomm_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&mcux_flexcomm_##n##_data, \
|
||||
&mcux_flexcomm_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -313,7 +313,7 @@ static const struct mcux_iuart_config mcux_iuart_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&mcux_iuart_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&mcux_iuart_##n##_data, \
|
||||
&mcux_iuart_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -317,7 +317,7 @@ static const struct mcux_lpsci_config mcux_lpsci_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&mcux_lpsci_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&mcux_lpsci_##n##_data, \
|
||||
&mcux_lpsci_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -437,7 +437,7 @@ static const struct mcux_lpuart_config mcux_lpuart_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&mcux_lpuart_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&mcux_lpuart_##n##_data, \
|
||||
&mcux_lpuart_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -408,7 +408,7 @@ static const struct uart_miv_device_config uart_miv_dev_cfg_0 = {
|
|||
#endif
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, uart_miv_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, uart_miv_init, NULL,
|
||||
&uart_miv_data_0, &uart_miv_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
(void *)&uart_miv_driver_api);
|
||||
|
|
|
@ -359,7 +359,7 @@ static const struct uart_driver_api uart_msp432p4xx_driver_api = {
|
|||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
uart_msp432p4xx_init, device_pm_control_nop,
|
||||
uart_msp432p4xx_init, NULL,
|
||||
&uart_msp432p4xx_dev_data_0,
|
||||
&uart_msp432p4xx_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
|
|
@ -365,14 +365,14 @@ static int np_uart_tty_poll_in(const struct device *dev,
|
|||
}
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&np_uart_0_init, device_pm_control_nop,
|
||||
&np_uart_0_init, NULL,
|
||||
(void *)&native_uart_status_0, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&np_uart_driver_api_0);
|
||||
|
||||
#if defined(CONFIG_UART_NATIVE_POSIX_PORT_1_ENABLE)
|
||||
DEVICE_DT_INST_DEFINE(1,
|
||||
&np_uart_1_init, device_pm_control_nop,
|
||||
&np_uart_1_init, NULL,
|
||||
(void *)&native_uart_status_1, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&np_uart_driver_api_1);
|
||||
|
|
|
@ -1088,7 +1088,7 @@ static const struct uart_driver_api uart_ns16550_driver_api = {
|
|||
.uart_config.flow_ctrl = DEV_DATA_FLOW_CTRL(n), \
|
||||
DEV_DATA_DLF_INIT(n) \
|
||||
}; \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_ns16550_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_ns16550_init, NULL, \
|
||||
&uart_ns16550_dev_data_##n, &uart_ns16550_dev_cfg_##n, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&uart_ns16550_driver_api); \
|
||||
|
|
|
@ -200,7 +200,7 @@ static struct uart_numicro_data uart_numicro_data_##index = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(index, \
|
||||
&uart_numicro_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&uart_numicro_data_##index, \
|
||||
&uart_numicro_cfg_##index, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -440,7 +440,7 @@ static struct pl011_data pl011_data_port_0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&pl011_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&pl011_data_port_0,
|
||||
&pl011_cfg_port_0, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -503,7 +503,7 @@ static struct pl011_data pl011_data_port_1 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(1,
|
||||
&pl011_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&pl011_data_port_1,
|
||||
&pl011_cfg_port_1, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
@ -568,7 +568,7 @@ static struct pl011_data pl011_data_sbsa = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&pl011_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&pl011_data_sbsa,
|
||||
&pl011_cfg_sbsa, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
|
|
|
@ -358,7 +358,7 @@ static const struct uart_driver_api uart_psoc6_driver_api = {
|
|||
\
|
||||
CY_PSOC6_UART_IRQ_SET_FUNC(n) \
|
||||
}; \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_psoc6_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_psoc6_init, NULL, \
|
||||
CY_PSOC6_UART_DECL_DATA_PTR(n), \
|
||||
&cy_psoc6_uart##n##_config, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -215,7 +215,7 @@ static const struct uart_driver_api uart_rtt_driver_api = {
|
|||
#define UART_RTT_INIT(idx, config) \
|
||||
struct uart_rtt_data uart_rtt##idx##_data; \
|
||||
\
|
||||
DEVICE_DT_DEFINE(UART_RTT(idx), uart_rtt_init, device_pm_control_nop, \
|
||||
DEVICE_DT_DEFINE(UART_RTT(idx), uart_rtt_init, NULL, \
|
||||
&uart_rtt##idx##_data, config, \
|
||||
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&uart_rtt_driver_api)
|
||||
|
|
|
@ -330,7 +330,7 @@ static const struct uart_driver_api rv32m1_lpuart_driver_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&rv32m1_lpuart_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&rv32m1_lpuart_##n##_data, \
|
||||
&rv32m1_lpuart_##n##_cfg, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -362,7 +362,7 @@ static const struct uart_driver_api uart_sam_driver_api = {
|
|||
static const struct uart_sam_dev_cfg uart##n##_sam_config; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_sam_init, \
|
||||
device_pm_control_nop, &uart##n##_sam_data, \
|
||||
NULL, &uart##n##_sam_data, \
|
||||
&uart##n##_sam_config, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&uart_sam_driver_api); \
|
||||
|
|
|
@ -1137,7 +1137,7 @@ static const struct uart_sam0_dev_cfg uart_sam0_config_##n = { \
|
|||
static struct uart_sam0_dev_data uart_sam0_data_##n; \
|
||||
UART_SAM0_IRQ_HANDLER_DECL(n); \
|
||||
UART_SAM0_CONFIG_DEFN(n); \
|
||||
DEVICE_DT_INST_DEFINE(n, uart_sam0_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(n, uart_sam0_init, NULL, \
|
||||
&uart_sam0_data_##n, \
|
||||
&uart_sam0_config_##n, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -394,7 +394,7 @@ static const struct uart_sifive_device_config uart_sifive_dev_cfg_0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
uart_sifive_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_sifive_data_0, &uart_sifive_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
(void *)&uart_sifive_driver_api);
|
||||
|
@ -433,7 +433,7 @@ static const struct uart_sifive_device_config uart_sifive_dev_cfg_1 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(1,
|
||||
uart_sifive_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_sifive_data_1, &uart_sifive_dev_cfg_1,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
(void *)&uart_sifive_driver_api);
|
||||
|
|
|
@ -650,7 +650,7 @@ static struct uart_stellaris_dev_data_t uart_stellaris_dev_data_0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&uart_stellaris_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_stellaris_dev_data_0, &uart_stellaris_dev_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&uart_stellaris_driver_api);
|
||||
|
@ -689,7 +689,7 @@ static struct uart_stellaris_dev_data_t uart_stellaris_dev_data_1 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(1,
|
||||
&uart_stellaris_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_stellaris_dev_data_1, &uart_stellaris_dev_cfg_1,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&uart_stellaris_driver_api);
|
||||
|
@ -728,7 +728,7 @@ static struct uart_stellaris_dev_data_t uart_stellaris_dev_data_2 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(2,
|
||||
&uart_stellaris_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart_stellaris_dev_data_2, &uart_stellaris_dev_cfg_2,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&uart_stellaris_driver_api);
|
||||
|
|
|
@ -1205,7 +1205,7 @@ static struct uart_xlnx_ps_dev_config uart_xlnx_ps_dev_cfg_##port = { \
|
|||
#define UART_XLNX_PS_INIT(port) \
|
||||
DEVICE_DT_INST_DEFINE(port, \
|
||||
uart_xlnx_ps_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&uart_xlnx_ps_dev_data_##port, \
|
||||
&uart_xlnx_ps_dev_cfg_##port, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -375,7 +375,7 @@ static const struct xlnx_uartlite_config xlnx_uartlite_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&xlnx_uartlite_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&xlnx_uartlite_##n##_data, \
|
||||
&xlnx_uartlite_##n##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
|
@ -74,7 +74,7 @@ static const struct uart_device_config xmc4xxx_config_##index = { \
|
|||
}; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(index, &uart_xmc4xxx_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&xmc4xxx_data_##index, \
|
||||
&xmc4xxx_config_##index, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -363,7 +363,7 @@ static const struct uart_driver_api usart_sam_driver_api = {
|
|||
static const struct usart_sam_dev_cfg usart##n##_sam_config; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&usart_sam_init, device_pm_control_nop, \
|
||||
&usart_sam_init, NULL, \
|
||||
&usart##n##_sam_data, \
|
||||
&usart##n##_sam_config, PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue