drivers: pwm: sam0: Add missing semicolon in PWM initialization macro
Add missing ; that was causing the driver to fail compiling. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
94cd7865a9
commit
d29798f3cf
@ -186,7 +186,8 @@ static DEVICE_API(pwm, pwm_sam0_driver_api) = {
|
||||
ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL_BY_NAME
|
||||
|
||||
#define PWM_SAM0_INIT(inst) \
|
||||
PINCTRL_DT_INST_DEFINE(inst) \
|
||||
PINCTRL_DT_INST_DEFINE(inst); \
|
||||
\
|
||||
static const struct pwm_sam0_config pwm_sam0_config_##inst = { \
|
||||
.regs = (Tc *)DT_INST_REG_ADDR(inst), \
|
||||
.pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user