pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros
The PINCTRL_DT_(INST_)DEFINE macros already defined the trailing ;, making its usage inconsistent with other macros such as DEVICE_DT_DEFINE. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
7803a4e590
commit
5dc6ed3ce3
21 changed files with 24 additions and 24 deletions
|
@ -234,7 +234,7 @@ static void config_can_##inst##_irq(void) \
|
|||
|
||||
#define CAN_STM32FD_CFG_INST(inst) \
|
||||
\
|
||||
PINCTRL_DT_INST_DEFINE(inst) \
|
||||
PINCTRL_DT_INST_DEFINE(inst); \
|
||||
\
|
||||
static const struct can_stm32fd_config can_stm32fd_cfg_##inst = { \
|
||||
.msg_sram = (struct can_mcan_msg_sram *) \
|
||||
|
@ -266,7 +266,7 @@ static const struct can_stm32fd_config can_stm32fd_cfg_##inst = { \
|
|||
|
||||
#define CAN_STM32FD_CFG_INST(inst) \
|
||||
\
|
||||
PINCTRL_DT_INST_DEFINE(inst) \
|
||||
PINCTRL_DT_INST_DEFINE(inst); \
|
||||
\
|
||||
static const struct can_stm32fd_config can_stm32fd_cfg_##inst = { \
|
||||
.msg_sram = (struct can_mcan_msg_sram *) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue