We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9eae4 commit 4e7b4e6Copy full SHA for 4e7b4e6
drivers/gpio/gpio_mchp_xec_v2.c
@@ -380,12 +380,12 @@ static const struct gpio_driver_api gpio_xec_driver_api = {
380
};
381
382
#define XEC_GPIO_PORT_FLAGS(n) \
383
- ((DT_IRQ_HAS_CELL(DT_DRV_INST(n), irq)) ? GPIO_INT_ENABLE : 0)
+ ((DT_INST_IRQ_HAS_CELL(n, irq)) ? GPIO_INT_ENABLE : 0)
384
385
#define XEC_GPIO_PORT(n) \
386
static int gpio_xec_port_init_##n(const struct device *dev) \
387
{ \
388
- if (!(DT_IRQ_HAS_CELL(DT_DRV_INST(n), irq))) { \
+ if (!(DT_INST_IRQ_HAS_CELL(n, irq))) { \
389
return 0; \
390
} \
391
\
0 commit comments