blob: 2b025877cee77ebe74af3d608061bb5c19d68767 [file] [log] [blame]
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT vnd_pinctrl_device
#include "test_device.h"
#include <zephyr/device.h>
#include <zephyr/drivers/pinctrl.h>
#define PINCTRL_DEVICE_INIT(inst) \
PINCTRL_DT_INST_DEFINE(inst); \
\
DEVICE_DT_INST_DEFINE(inst, NULL, NULL, NULL, NULL, POST_KERNEL,\
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
DT_INST_FOREACH_STATUS_OKAY(PINCTRL_DEVICE_INIT)