1 /* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #define DT_DRV_COMPAT vnd_pinctrl_device 8 9 #include "test_device.h" 10 11 #include <zephyr/device.h> 12 #include <zephyr/drivers/pinctrl.h> 13 14 #define PINCTRL_DEVICE_INIT(inst) \ 15 PINCTRL_DT_INST_DEFINE(inst); \ 16 \ 17 DEVICE_DT_INST_DEFINE(inst, NULL, NULL, NULL, NULL, POST_KERNEL,\ 18 CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL); 19 20 DT_INST_FOREACH_STATUS_OKAY(PINCTRL_DEVICE_INIT) 21